summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2023-12-20 23:18:22 +0100
committermms <michal@sapka.me>2023-12-20 23:18:22 +0100
commitbb4641356d00ec204583fda58ba3f3376b478efd (patch)
treecf26e862eeb1c9f42299c505865bd560da42c4f7 /layouts/_default/baseof.html
parent52a93cdffe6ac624bd87f3ca4130b2f4c25fd0d1 (diff)
feat: move articles to ox-hugo + gen content
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 }}