summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2023-12-08 21:16:07 +0100
committermms <michal@sapka.me>2023-12-08 21:16:07 +0100
commiteb8bf81fc0bc03b5cd67545dd56f77376297a1da (patch)
tree59a1d1f3afad2a92e70bcd493dbffe1a9ba032f0 /layouts/_default/baseof.html
parentec5bbb879bac8c635f67aa3acaf6367e82d1dffc (diff)
feat: digital ownership
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 9092d68..fe8c5e4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -50,6 +50,8 @@
{{ $section_class = "bsd" }}
{{ else if in .Page.Params.category "blog" }}
{{ $section_class = "blog" }}
+ {{ else if in .Page.Params.category "article" }}
+ {{ $section_class = "article" }}
{{ end }}
<body class="{{ $section_class }}">
<header>
@@ -63,6 +65,9 @@
{{ 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" }}
+ {{ $logo := resources.Get "logos/logo-article-white.svg" }}
+ <img src="{{$logo.RelPermalink}}" class="files">
{{ end }}
</div>