pdf-editor/layouts/partials/header.html

16 lines
673 B
HTML

<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">{{ .Site.Params.brand }}</h3>
{{ if .Site.IsMultiLingual }}
{{ $currentLanguage := .Language }}</p>
<nav class="nav nav-masthead justify-content-center float-md-end">
{{ 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 }}
</nav>
{{ end }}
</div>
</header>