aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/nav.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
commitd26ecb989f5e5b9e06b34c106a3d391fd2910524 (patch)
tree5b2f2391eb682881c90930c040f260854b3f1936 /layouts/partials/nav.html
First commit
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>