diff options
author | mms <michal@sapka.me> | 2023-12-21 23:23:35 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-12-21 23:23:35 +0100 |
commit | a834ab11ba14daf6f1d7c95705c26cb7c4e30507 (patch) | |
tree | ecc054d06d209be4072ae3bfb30c2e5a5775392d /layouts/_default/baseof.html | |
parent | c21c3d8c5448ee14cc923280ac9a1b81f9eeda67 (diff) |
feat: trek to ox-hugo, 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 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" }} |