bunteshaus.de/themes/buha/layouts/partials/snippets/header.html
2022-06-08 00:38:13 +02:00

16 lines
548 B
HTML

{{ $svg := readFile "/assets/images/logo/logo.svg" }}
<div>
<a href="/">
{{ safeHTML $svg }}
</a>
<div>
{{- range site.Params.mainMenu -}}
{{ $name := . }}
{{ if i18n . }}
{{ $name = i18n . }}
{{ end }}
<a href="{{- . | relLangURL -}}" >{{- $name | humanize -}}</a>
{{- end -}}
</div>
</div>