bunteshaus.de/themes/buha/layouts/partials/snippets/header.html
2022-05-22 23:49:19 +02:00

18 lines
602 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;" class="funny-text-shadow">{{- $name | humanize -}}</a>
{{- end -}}
</div>