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

17 lines
421 B
HTML
Raw Normal View History

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