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

17 lines
426 B
HTML
Raw Normal View History

2018-03-01 01:38:59 +00:00
<nav class="navigation">
<section class="container">
2018-05-11 00:41:38 +00:00
<a class="navigation-title" href="{{ .Site.BaseURL }}">
2018-03-01 01:38:59 +00:00
{{ .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>