aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..caa698f
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,14 @@
+<nav class="navigation">
+ <section class="container">
+ <a class="navigation-title" href="{{ "/" | absURL }}">
+ {{ .Site.Title }}
+ </a>
+ <ul class="navigation-list float-right">
+ {{ range sort .Site.Menus.main }}
+ <li class="navigation-item">
+ <a class="navigation-link" href="{{ .URL }}">{{ .Name }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </section>
+</nav>