about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/partials/header.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-23 17:43:02 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-23 17:43:02 -0700
commit14a5a6d480f0c2d71b3f43b272e07c5ce769ad83 (patch)
tree33c9de5c9d5d2da8d0dc16302dfb9500717a490b /users/fcuny/blog/layouts/partials/header.html
parentfeat(tahoe): enable sourcegraph (diff)
parentsign the drone configuration (diff)
downloadworld-14a5a6d480f0c2d71b3f43b272e07c5ce769ad83.tar.gz
Merge remote-tracking branch 'blog/main' into fcuny/migrate-monorepo-blog
Diffstat (limited to '')
-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>