diff options
author | mms <michal@sapka.me> | 2024-03-06 15:02:34 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-03-06 15:02:34 +0100 |
commit | 6a2f2294dfbf9365aa8c61b33e1f4d1d33c7a9fe (patch) | |
tree | a88e8ca0e7424c0cb125993b7fc33b973e9d9040 /layouts/_default/baseof.html | |
parent | 3cbe80fd1738dfb896e0cefa1fc2cf0d0ea74319 (diff) |
feat: BSD rework, part 1
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
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" }} |