diff options
author | mms <michal@sapka.me> | 2023-12-05 23:06:12 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-12-05 23:06:12 +0100 |
commit | 1da8a6b4f0983ec7ba45c5dd705feccf69896e58 (patch) | |
tree | 66f418819ffcc7a995e95abaaf7aa7194624e42c /layouts/_default/baseof.html | |
parent | 4c17989711a76866214f71f645fdf8fe785c15ad (diff) |
feat: blog section
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 a1395ad..9092d68 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -48,6 +48,8 @@ {{ $section_class = "site-info" }} {{ else if in .Page.Params.category "bsd" }} {{ $section_class = "bsd" }} + {{ else if in .Page.Params.category "blog" }} + {{ $section_class = "blog" }} {{ end }} <body class="{{ $section_class }}"> <header> @@ -58,6 +60,9 @@ {{ else if in .Page.Params.category "star-trek" }} {{ $logo := resources.Get "logos/logo-startrek-white.svg" }} <img src="{{$logo.RelPermalink}}" class="stbadge"> + {{ else if in .Page.Params.category "blog" }} + {{ $logo := resources.Get "logos/logo-blog-white.svg" }} + <img src="{{$logo.RelPermalink}}" class="blogicon"> {{ end }} </div> |