From a834ab11ba14daf6f1d7c95705c26cb7c4e30507 Mon Sep 17 00:00:00 2001 From: mms Date: Thu, 21 Dec 2023 23:23:35 +0100 Subject: feat: trek to ox-hugo, part 1 --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 00bf322f..e0fdb948 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -42,7 +42,7 @@ {{ $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" }} - {{ else if in .Page.Params.category "star-trek" }} + {{ else if in .Page.Params.categories "star-trek" }} {{ $logo := resources.Get "logos/logo-startrek-white.svg" }} {{ else if in .Page.Params.category "blog" }} -- cgit v1.2.3