wires

summary refs log tree commit diff
path: root/layouts/_partials/header.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
committerwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
commit54e4a732484c120d9f95fe3451da932859cf7473 (patch)
tree8eadbeaed6fbac095f602740f3abfc8b76a860fe /layouts/_partials/header.html
parentadd draft reading list page (diff)
downloadblog-54e4a732484c120d9f95fe3451da932859cf7473.tar.gz
fix stuff for new version of hugo
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>