diff options
Diffstat (limited to '_includes/navigation.html')
-rw-r--r-- | _includes/navigation.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..eb836c7 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,11 @@ +<nav> + {% for item in site.data.navigation %} + [<a + href={{ item.link | remove: ".html" }} + {% if page.url == item.link %} class=current {% endif %} + > + {{ item.name}} + </a>] + {% endfor %} +</nav> +<hr> |