hugo-snotra/layouts/partials/navigation.html

22 lines
508 B
HTML

<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 .Site.Home.Pages }}
<li class="navigation-item">
<a href="{{ .Permalink }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</section>
</nav>