pdf-editor/layouts/partials/header.html

16 lines
673 B
HTML
Raw Permalink Normal View History

2023-05-17 01:12:02 +02:00
<header class="mb-auto">
<div>
2023-05-17 16:13:58 +02:00
<h3 class="float-md-start mb-0">{{ .Site.Params.brand }}</h3>
{{ if .Site.IsMultiLingual }}
{{ $currentLanguage := .Language }}</p>
2023-05-17 01:12:02 +02:00
<nav class="nav nav-masthead justify-content-center float-md-end">
2023-05-17 16:13:58 +02:00
{{ range $.Site.Home.AllTranslations }}
<a title="{{ .Language.LanguageName }}" href="{{ .Permalink }}" class="nav-link fw-bold py-1 px-0{{ if eq $currentLanguage.Lang .Lang }} active{{ end }}" aria-current="page" href="#">
{{ or (.Language.Params.icon | safeHTML) .Lang }}
</a>
{{ end }}
2023-05-17 01:12:02 +02:00
</nav>
2023-05-17 16:13:58 +02:00
{{ end }}
2023-05-17 01:12:02 +02:00
</div>
</header>