summaryrefslogtreecommitdiffhomepage
path: root/examples/multilingual/layouts/partials/header.html
blob: f08c3523c681ab74db726f8f09ded8b303bd5992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<header>
	<nav id="language-menu">
		<a href="/home">English</a>
		<a href="/kodu">Eesti</a>
	</nav>

	<h1 id="title">{{ (index .Site.Data.translations .Params.lang).title }}</h1>

	<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>