2021-10-11 09:52:24 -05:00
|
|
|
<h2 class="header">
|
2021-10-15 17:45:03 -05:00
|
|
|
<a href="{{ "/" | absLangURL }}">{{ .Site.Title | markdownify }}</a>
|
2021-10-11 09:52:24 -05:00
|
|
|
</h2>
|
|
|
|
|
2021-10-11 21:26:23 -05:00
|
|
|
<nav class="navbar">
|
2021-10-11 20:13:20 -05:00
|
|
|
{{ with .Site.GetPage "/" }}
|
2021-10-15 17:45:03 -05:00
|
|
|
<a class="navbar-item" href="{{ .Permalink | absLangURL }}">{{ .Title }}</a>
|
2021-10-11 20:13:20 -05:00
|
|
|
{{ end }}
|
|
|
|
|
2021-10-11 09:52:24 -05:00
|
|
|
{{ range .Site.Menus.main }}
|
2021-10-15 17:45:03 -05:00
|
|
|
<a class="navbar-item" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
2021-10-11 09:52:24 -05:00
|
|
|
{{ end }}
|
|
|
|
</nav>
|
2021-10-11 21:26:23 -05:00
|
|
|
|
|
|
|
{{ if .Site.IsMultiLingual }}
|
|
|
|
<nav class="langbar">
|
|
|
|
{{ range .Site.Home.AllTranslations }}
|
|
|
|
|
|
|
|
{{ if eq .Language $.Site.Language }}
|
|
|
|
<b><a class="langbar-item" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></b>
|
|
|
|
{{ else }}
|
|
|
|
<a class="langbar-item" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</nav>
|
|
|
|
{{ end }}
|