bunteshaus.de/themes/buha/layouts/partials/snippets/header.html
2022-05-09 21:37:34 +02:00

18 lines
610 B
HTML

{{ $img := resources.GetMatch "/images/logo_back_full.svg" }}
<a href="/" style="margin-left: .8rem;">
<img src="/images/logo.svg" alt="SVG mit img laden" class="dark-shadow">
</a>
<div>
{{- range site.Params.mainMenu -}}
{{ $name := . }}
{{ if i18n . }}
{{ $name = i18n . }}
{{ end }}
<a href="{{- . | relLangURL -}}" style="margin-left: .8rem; color: white;" class="dark-shadow">{{- $name | humanize -}}</a>
{{- end -}}
</div>