wires

summary refs log tree commit diff
path: root/layouts/_partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/header.html')
-rw-r--r--layouts/_partials/header.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html
new file mode 100644
index 0000000..bf7f2f2
--- /dev/null
+++ b/layouts/_partials/header.html
@@ -0,0 +1,10 @@
+<header>
+  <p id="site-title">{{.Title}}</p>
+  <nav id="main-nav">
+    <ul>
+      {{ with .Menus.main }}{{ range . }}
+      <li><a href="{{ .URL }}">{{ .Name }}</a></li>
+      {{ end }}{{ end }}
+    </ul>
+  </nav>
+</header>