hugo/examples/multilingual/layouts/partials/header.html

18 lines
429 B
HTML
Raw Normal View History

2013-11-23 19:16:42 +00:00
<header>
<nav id="language-menu">
<a href="/home">English</a>
<a href="/kodu">Eesti</a>
2013-11-23 19:16:42 +00:00
</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>
2013-11-23 19:16:42 +00:00
</nav>
</header>
<h2 id="subtitle">{{ .Title }}</h2>