about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/blog/layouts/partials/header.html')
-rw-r--r--users/fcuny/blog/layouts/partials/header.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/fcuny/blog/layouts/partials/header.html b/users/fcuny/blog/layouts/partials/header.html
new file mode 100644
index 0000000..65900eb
--- /dev/null
+++ b/users/fcuny/blog/layouts/partials/header.html
@@ -0,0 +1,10 @@
+<header>
+  <nav class="navbar">
+    <a class="nav-bold" href="{{ .Site.BaseURL }}">~/blog</a>
+    <ul class="nav-links">
+      {{ range .Site.Menus.main }}
+      <li class="nav-item"><a class="nav-bold" href="{{ absURL .URL }}">{{ .Title }}</a></li>
+      {{ end }}
+    </ul>
+  </nav>
+</header>