summaryrefslogtreecommitdiffhomepage
path: root/examples/multilingual/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multilingual/layouts/partials/header.html')
-rw-r--r--examples/multilingual/layouts/partials/header.html26
1 files changed, 11 insertions, 15 deletions
diff --git a/examples/multilingual/layouts/partials/header.html b/examples/multilingual/layouts/partials/header.html
index 59495da8f..e5209f5df 100644
--- a/examples/multilingual/layouts/partials/header.html
+++ b/examples/multilingual/layouts/partials/header.html
@@ -1,25 +1,21 @@
<header>
- <nav class="menu language-menu">
- <ul>
- <li><a href="/home">English</a></li>
- <li><a href="/kodu">Eesti</a></li>
- </ul>
- <div class="clear"></div>
+ <nav id="language-menu">
+ <a href="/home">English</a>
+ <a href="/kodu">Eesti</a>
</nav>
{{ if (eq .Params.lang "et") }}
- <h1 class="title">Minu mitmekeelne leht</h1>
+ <h1 id="title">Minu mitmekeelne leht</h1>
{{ else }}
- <h1 class="title">My multilingual site</h1>
+ <h1 id="title">My multilingual site</h1>
{{ end }}
- <nav class="menu main-menu">
- <ul>
- {{ range (index .Site.Taxonomies.menu .Params.lang).Pages }}
- <li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
- {{ end }}
- </ul>
+ <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 class="subtitle">{{ .Title }}</h2>
+<h2 id="subtitle">{{ .Title }}</h2>