mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 18:11:28 +00:00
21 lines
496 B
HTML
21 lines
496 B
HTML
<header>
|
|
<nav id="language-menu">
|
|
<a href="/home">English</a>
|
|
<a href="/kodu">Eesti</a>
|
|
</nav>
|
|
|
|
{{ if (eq .Params.lang "et") }}
|
|
<h1 id="title">Minu mitmekeelne leht</h1>
|
|
{{ else }}
|
|
<h1 id="title">My multilingual site</h1>
|
|
{{ end }}
|
|
|
|
<nav id="main-menu">
|
|
{{ range (index .Site.Taxonomies.menu .Params.lang).Pages }}
|
|
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
|
{{ end }}
|
|
<div class="clear"></div>
|
|
</nav>
|
|
</header>
|
|
|
|
<h2 id="subtitle">{{ .Title }}</h2>
|