summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-07 17:42:02 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-07 17:42:02 +0100
commitbead5d9417161278cff8a25d3e705eda22e3615b (patch)
treed879ba5cf67f4b0bf6280135716b44f60d50a896
parentdodal značke, .html na linke, značke in kategorije po velikosti (diff)
downloadsijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar.gz
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar.bz2
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar.lz
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar.xz
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.tar.zst
sijanec.eu-bead5d9417161278cff8a25d3e705eda22e3615b.zip
-rw-r--r--_data/navigation.yml1
-rw-r--r--_includes/footer.html2
-rw-r--r--_includes/navigation.html14
3 files changed, 10 insertions, 7 deletions
diff --git a/_data/navigation.yml b/_data/navigation.yml
index b37ee72..52b8883 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -10,3 +10,4 @@
link: /blog/znacke.html
- name: avtorji
link: /avtorji.html
+ nav: false
diff --git a/_includes/footer.html b/_includes/footer.html
index e4e4acc..23ce2c8 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,4 @@
<hr>
<p>
- Vse pravice pridržane. &copy; {{ site.name }}, 2020
+Vse pravice pridržane.&nbsp;&copy;&nbsp;{{ site.name }},&nbsp;2020 | zadnja sprememba: {{ site.time | date: site.short_datetime_format }}
</p>
diff --git a/_includes/navigation.html b/_includes/navigation.html
index 3bb6f14..0570416 100644
--- a/_includes/navigation.html
+++ b/_includes/navigation.html
@@ -1,11 +1,13 @@
<nav>
{% for item in site.data.navigation %}
- [<a
- href={{ item.link }}
- {% if page.url == item.link %} class=current {% endif %}
- >
- {{ item.name}}
- </a>]
+ {% if item.nav != false %}
+ [<a
+ href={{ item.link }}
+ {% if page.url == item.link %} class=current {% endif %}
+ >
+ {{ item.name}}
+ </a>]
+ {% endif %}
{% endfor %}
</nav>
<hr>