summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-01-03 18:17:19 +0100
committermms <michal@sapka.me>2024-01-03 18:17:19 +0100
commit3dc66eecd384498f4dfce5e617bc7360dbda487a (patch)
tree7417deaead131a971a7511c46627fbea46c5fa66 /layouts/_default/baseof.html
parent339ba0bf872a672fea7d611343df4a6f0e14d585 (diff)
feat: move blog to org format
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index be7e066..b8e5c58 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -48,7 +48,7 @@
{{ $section_class = "site-info" }}
{{ else if in .Page.Params.category "bsd" }}
{{ $section_class = "bsd" }}
- {{ else if in .Page.Params.category "blog" }}
+ {{ else if in .Page.Params.categories "blog" }}
{{ $section_class = "blog" }}
{{ else if in .Page.Params.categories "article" }}
{{ $section_class = "article" }}
@@ -64,7 +64,7 @@
{{ else if in .Page.Params.categories "star-trek" }}
{{ $logo := resources.Get "logos/logo-startrek-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="stbadge">
- {{ else if in .Page.Params.category "blog" }}
+ {{ else if in .Page.Params.categories "blog" }}
{{ $logo := resources.Get "logos/logo-blog-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="blogicon">
{{ else if in .Page.Params.categories "article" }}