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

17 lines
333 B
HTML

<header>
<nav id="language-menu">
<a href="/home">English</a>
<a href="/et/home">Eesti</a>
</nav>
<h1 id="title">{{ .Site.Title }}</h1>
<nav id="main-menu">
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
<div class="clear"></div>
</nav>
</header>
<h2 id="subtitle">{{ .Title }}</h2>