blob: e5209f5df1d2cba482496d07853bac8be71184e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<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>
|