diff options
author | mms <michal@sapka.me> | 2023-12-08 21:16:07 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-12-08 21:16:07 +0100 |
commit | eb8bf81fc0bc03b5cd67545dd56f77376297a1da (patch) | |
tree | 59a1d1f3afad2a92e70bcd493dbffe1a9ba032f0 /layouts/_default/baseof.html | |
parent | ec5bbb879bac8c635f67aa3acaf6367e82d1dffc (diff) |
feat: digital ownership
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 5 |
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> |