summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
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 fe8c5e4..00bf322 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -50,7 +50,7 @@
{{ $section_class = "bsd" }}
{{ else if in .Page.Params.category "blog" }}
{{ $section_class = "blog" }}
- {{ else if in .Page.Params.category "article" }}
+ {{ else if in .Page.Params.categories "article" }}
{{ $section_class = "article" }}
{{ end }}
<body class="{{ $section_class }}">
@@ -65,7 +65,7 @@
{{ else if in .Page.Params.category "blog" }}
{{ $logo := resources.Get "logos/logo-blog-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="blogicon">
- {{ else if in .Page.Params.category "article" }}
+ {{ else if in .Page.Params.categories "article" }}
{{ $logo := resources.Get "logos/logo-article-white.svg" }}
<img src="{{$logo.RelPermalink}}" class="files">
{{ end }}