summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-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 00bf322..e0fdb94 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -42,7 +42,7 @@
</head>
{{ $section_class := "mms"}}
- {{ if in .Page.Params.category "star-trek" }}
+ {{ if in .Page.Params.categories "star-trek" }}
{{ $section_class = "star-trek" }}
{{ else if in .Page.Params.category "site-info" }}
{{ $section_class = "site-info" }}
@@ -59,7 +59,7 @@
{{ if in .Page.Params.category "bsd" }}
{{ $logo := resources.Get "logos/logo-beastie-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="beastie">
- {{ else if in .Page.Params.category "star-trek" }}
+ {{ 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" }}