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 4745cd7..fb77bf2 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -49,7 +49,7 @@
{{ $section_class = "site-info" }}
{{ else if in .Page.Params.categories "site" }}
{{ $section_class = "site-info" }}
- {{ else if in .Page.Params.category "bsd" }}
+ {{ else if in .Page.Params.categories "bsd" }}
{{ $section_class = "bsd" }}
{{ else if in .Page.Params.categories "blog" }}
{{ $section_class = "blog" }}
@@ -61,7 +61,7 @@
<body class="{{ $section_class }}">
<header>
<div class="logo">
- {{ if in .Page.Params.category "bsd" }}
+ {{ if in .Page.Params.categories "bsd" }}
{{ $logo := resources.Get "logos/logo-beastie-white.svg"}}
<img src="{{$logo.RelPermalink}}" class="beastie">
{{ else if in .Page.Params.categories "star-trek" }}