summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-03-06 15:02:34 +0100
committermms <michal@sapka.me>2024-03-06 15:02:34 +0100
commit6a2f2294dfbf9365aa8c61b33e1f4d1d33c7a9fe (patch)
treea88e8ca0e7424c0cb125993b7fc33b973e9d9040 /layouts/_default
parent3cbe80fd1738dfb896e0cefa1fc2cf0d0ea74319 (diff)
feat: BSD rework, part 1
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" }}