summaryrefslogtreecommitdiffstats
path: root/_includes/navigation.html
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-05 18:44:37 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-05 18:44:37 +0100
commit0a267e4172dc893963feb27fc5d1f405f9e6d7b1 (patch)
tree83f33138cfa709465ef728ccafd19f395439097a /_includes/navigation.html
downloadsijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar.gz
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar.bz2
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar.lz
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar.xz
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.tar.zst
sijanec.eu-0a267e4172dc893963feb27fc5d1f405f9e6d7b1.zip
Diffstat (limited to '_includes/navigation.html')
-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..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>