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