Takubeh/layouts/partials/en_tete.html

23 lines
744 B
HTML
Raw Normal View History

<header class="box header">
2024-02-28 23:07:49 +01:00
<a href="/">
{{ $tag := cond .IsHome "h1" "div" }}
{{ printf "<%s class=\"title\">" $tag | safeHTML }}
Takubeh<br>
<small>Kombucha</small>
{{ printf "</%s>" $tag | safeHTML }}
</a>
{{ with site.Menus.main }}
<nav class="box container menu ">
{{- range . -}}
<a class="color -blue3{{ if $.IsMenuCurrent .Menu . }} active{{ end }}" href="{{ .URL }}">
{{ if $.IsMenuCurrent .Menu . }}
<h1>{{ .Name }}</h1>
{{ else }}
{{ .Name }}
{{ end }}
</a>
{{- end -}}
</nav>
{{ end }}
2024-02-02 12:39:18 +01:00
</header>