hugo_frigg/layouts/partials/navigation.html

23 lines
511 B
HTML
Raw Permalink Normal View History

2021-10-26 11:34:30 +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 .Site.Home.Pages }}
<li class="navigation-item">
<a href="{{ .RelPermalink }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</section>
</nav>