hugo-snotra/layouts/partials/navigation.html

22 lines
475 B
HTML
Raw Normal View History

2020-04-28 12:26:34 +02:00
<nav id="navigation">
<section class="navigation-container">
<a id="navigation-title" href="/">
{{ .Site.Title }}
</a>
<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">
{{ range .Pages }}
2020-04-28 12:26:34 +02:00
<li class="navigation-item">
<a href="{{ .URL }}">{{ .Name }}</a>
2020-04-28 12:26:34 +02:00
</li>
{{ end }}
2020-04-28 12:26:34 +02:00
</ul>
</section>
</nav>