hugo-coder-fork/layouts/partials/header.html

17 lines
425 B
HTML

<nav class="navigation">
<section class="container">
<a class="navigation-title" href="{{ "/" | absURL }}">
{{ .Site.Title }}
</a>
{{ with .Site.Menus.main }}
<ul class="navigation-list float-right">
{{ range sort . }}
<li class="navigation-item">
<a class="navigation-link" href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
{{ end }}
</section>
</nav>