aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r--layouts/partials/nav.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..fc951bd
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,11 @@
+<header>
+ <nav>
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a href="/contact/" class="{{ if eq "contact" . }}selected{{ end }}">Contact</a></li>
+ <li><a href="/blog/" class="{{ if eq "blog" . }}selected{{ end }}">Blog</a></li>
+ <li><a href="/lists/" class="{{ if eq "lists" . }}selected{{ end }}">Lists</a></li>
+ <li><a href="/docs/" class="{{ if eq "docs" . }}selected{{ end }}">Docs</a></li>
+ </ul>
+ </nav>
+</header>