summaryrefslogtreecommitdiffhomepage
path: root/layouts/partials/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r--layouts/partials/nav.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..909fc98
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,7 @@
+<a href="{{ "" | relURL }}">home</a>
+{{ range .Site.Menus.main }}
+<a href="{{ .URL }}">{{ .Name }}</a>
+{{ end }}
+{{ with .Site.GetPage "/blog" }}
+<a href="{{ "blog" | relURL }}">blog</a>
+{{ end }}