summaryrefslogtreecommitdiff
path: root/layouts/partials/primary-nav.html
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-08 21:30:23 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-08 21:30:23 +0800
commitbce6be90883b107285faa56acf0081b54daa3aa9 (patch)
tree0893f99b5debe074f1596b6cfc6d3c86da34ca42 /layouts/partials/primary-nav.html
Initialize personal website
Diffstat (limited to 'layouts/partials/primary-nav.html')
-rw-r--r--layouts/partials/primary-nav.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/primary-nav.html b/layouts/partials/primary-nav.html
new file mode 100644
index 0000000..8be0124
--- /dev/null
+++ b/layouts/partials/primary-nav.html
@@ -0,0 +1,8 @@
+<nav class="site-nav" aria-label="Primary">
+ <a href="{{ "/journal/" | relURL }}"{{ if eq .Section "journal" }} aria-current="page"{{ end }}>journal/</a>
+ <a href="{{ "/notes/" | relURL }}"{{ if eq .Section "notes" }} aria-current="page"{{ end }}>notes/</a>
+ <a href="{{ "/projects/" | relURL }}"{{ if eq .Section "projects" }} aria-current="page"{{ end }}>projects/</a>
+ <a href="{{ "/links/" | relURL }}"{{ if eq .Section "links" }} aria-current="page"{{ end }}>links/</a>
+ <a href="{{ "/about.txt" | relURL }}">about.txt</a>
+ <a href="{{ "/now.txt" | relURL }}">now.txt</a>
+</nav>