aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-07-05 19:57:29 +0530
committerPriyansh <[email protected]>2021-07-05 19:57:29 +0530
commitff34bf5205d9edd7c1678169380eb20dc943e167 (patch)
tree60c4d91459e1df95e2df4f20eee44833cc8c0604
parent9d28b217ae6d0428fe34bc8e343ca9a0cb9d3bfb (diff)
downloadluciferreeves.github.io-ff34bf5205d9edd7c1678169380eb20dc943e167.tar.xz
luciferreeves.github.io-ff34bf5205d9edd7c1678169380eb20dc943e167.zip
Added Custom navigation
-rw-r--r--_includes/navigation.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/navigation.html b/_includes/navigation.html
new file mode 100644
index 0000000..ff1cd1b
--- /dev/null
+++ b/_includes/navigation.html
@@ -0,0 +1,11 @@
+<nav class="nav">
+ <div class="nav-container">
+ <a href="{{ site.baseurl }}/">
+ <h2 class="nav-title">{{ site.title }}</h2>
+ </a>
+ <ul>
+ <li><a href="{{ site.baseurl }}/">Posts</a></li>
+ <li><a href="{{ '/about' | prepend: site.baseurl }}">About</a></li>
+ </ul>
+ </div>
+ </nav> \ No newline at end of file