feat: initial import

This commit is contained in:
Iain Learmonth 2026-01-10 13:42:14 +00:00
commit 03ab1091b1
50 changed files with 1146 additions and 0 deletions

View file

@ -0,0 +1,29 @@
<div class="header__content">
{{ with site.Params.logo.main }}
{{ with resources.Get . }}
<a href="/">
<img
class="header__logo"
src="{{ .RelPermalink }}"
width="{{ .Width }}"
alt="{{ site.Params.logo.mainAlt }}" />
</a>
{{ else }}
{{ errorf "Unable to find %s in assets directory" . }}
{{ end }}
{{ end }}
{{ if site.Params.header.buttons }}
<div class="header__spacer">&nbsp;</div>
{{ range site.Params.header.buttons }}
<a
class="{{ compare.Conditional (compare.Eq .type "text") "header__button--text" "header__button" }}"
href="{{ .url | safeURL }}">
{{ if .icon }}
<i class="header__button__icon" data-feather="{{ .icon }}"></i>
{{ end }}
{{ .name }}
</a>
{{ end }}
{{ end }}
</div>