diff options
author | mms <michal@sapka.me> | 2023-11-28 22:29:10 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-11-28 22:29:10 +0100 |
commit | 8b48b74d1a52e259ce45ad2d02ada5d0cf7934d4 (patch) | |
tree | 30acbef97d305e3f9775d6a7683a626e6c657e21 /layouts/_default/baseof.html | |
parent | db5e4cd2a0f2399006b4a6c19a25a754f0ba5292 (diff) |
feat: bsd as section
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1807091..7dab21e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -46,10 +46,19 @@ {{ $section_class = "star-trek" }} {{ else if in .Page.Params.category "site-info" }} {{ $section_class = "site-info" }} + {{ else if in .Page.Params.category "bsd" }} + {{ $section_class = "bsd" }} {{ end }} <body class="{{ $section_class }}"> <header> <div class="logo"> + {{ if in .Page.Params.category "bsd" }} + {{ $logo := resources.Get "logos/logo-beastie-white.svg" }} + <img src="{{$logo.RelPermalink}}" class="beastie"> + {{ else if in .Page.Params.category "star-trek" }} + {{ $logo := resources.Get "logos/logo-startrek-white.svg" }} + <img src="{{$logo.RelPermalink}}" class="stbadge"> + {{ end }} </div> <div class="name"> |