diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-20 22:35:52 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-20 22:35:52 +0530 |
commit | d26ecb989f5e5b9e06b34c106a3d391fd2910524 (patch) | |
tree | 5b2f2391eb682881c90930c040f260854b3f1936 /layouts/partials/nav.html |
First commit
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r-- | layouts/partials/nav.html | 11 |
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> |