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

17 lines
485 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-06-18 17:55:42 +00:00
<ul class="navigation-list {{ if $.Site.Params.rtl }} float-left {{ else }} float-right {{ end }}">
{{ 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>