hugo-snotra/layouts/partials/navigation.html

23 lines
508 B
HTML
Raw Normal View History

2020-04-28 12:26:34 +02:00
<nav id="navigation">
<section class="navigation-container">
2020-04-28 19:42:39 +02:00
<a id="navigation-title" href="/">
{{ .Site.Title }}
</a>
2020-04-28 12:26:34 +02:00
2020-04-28 19:42:39 +02:00
<input type="checkbox" id="menu-toggle" />
<label class="menu-button" for="menu-toggle">
<div class="menu-button-inner">
<div class="menu-button-image"></div>
</div>
</label>
<ul id="navigation-list">
2020-04-28 20:13:39 +02:00
{{ range .Site.Home.Pages }}
2020-04-28 19:42:39 +02:00
<li class="navigation-item">
2020-04-28 21:48:15 +02:00
<a href="{{ .Permalink }}">{{ .Name }}</a>
2020-04-28 19:42:39 +02:00
</li>
{{ end }}
</ul>
2020-04-28 12:26:34 +02:00
</section>
</nav>