mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 12:02:01 -05:00
25 lines
No EOL
579 B
HTML
25 lines
No EOL
579 B
HTML
<header>
|
|
<nav class="menu language-menu">
|
|
<ul>
|
|
<li><a href="/">English</a></li>
|
|
<li><a href="/kodu">Eesti</a></li>
|
|
</ul>
|
|
<div class="clear"></div>
|
|
</nav>
|
|
|
|
{{ if (eq .Params.lang "et") }}
|
|
<h1 class="title">Minu mitmekeelne leht</h1>
|
|
{{ else }}
|
|
<h1 class="title">My multilingual site</h1>
|
|
{{ end }}
|
|
|
|
<nav class="menu main-menu">
|
|
<ul>
|
|
{{ range (index .Site.Indexes.menu .Params.lang).Pages }}
|
|
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<h2 class="subtitle">{{ .Title }}</h2> |