23 lines
744 B
HTML
23 lines
744 B
HTML
<header class="box header">
|
|
<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 }}
|
|
</header>
|