aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/nav.html
diff options
context:
space:
mode:
authorJJ <nicetry@noemail.com>2025-03-19 14:56:26 +0000
committerJJ <nicetry@noemail.com>2025-03-19 14:56:26 +0000
commit16f52b7bef745097f7076dde76715db378b54343 (patch)
treecfcacda8adced2059dcc120d2bc2446d3c4f960a /layouts/partials/nav.html
first commit
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r--layouts/partials/nav.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..be5539c
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,9 @@
+{{ with .Site.GetPage "/blog" }}
+<a href="{{ "blog" | relURL }}">blog</a>
+{{ end }}
+{{ with .Site.GetPage "/snippets" }}
+<a href="{{ "snippets" | relURL }}">snippets</a>
+{{ end }}
+{{ with .Site.GetPage "/projects" }}
+<a href="{{ "projects" | relURL }}">projects</a>
+{{ end }} \ No newline at end of file