summaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
commit6c93a756fea3df39f19a02e088992a79a0711852 (patch)
tree80ffcddb9851859724321cf78b95e0d4ef04551a /_layouts/post.html
parentpopravil linke (diff)
downloadsijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.gz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.bz2
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.lz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.xz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.zst
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.zip
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 4e63808..0046908 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -10,14 +10,18 @@ layout: default
{% assign anon = site.authors | where: 'short_name', "anonymous" | first %}
-
{% if author %}
- <a href="{{ author.url | remove: ".html" }}">
- {{ author.name }}
- </a>
+ <a href="{{ author.url | remove: ".html" }}">{{ author.name }}</a>
{% else %}
- <a href="{{ anon.url | remove: ".html" }}">
- {{ anon.name }}
- </a>
+ <a href="{{ anon.url | remove: ".html" }}">{{ anon.name }}</a>
{% endif %}
+ - kategorije:
+ {% assign i = 1 %}
+ {% for category in page.categories %}
+ {% assign i = i | plus: 1 %}
+ <a href="/kategorije#{{ category }}">{{ category }}</a>{%
+ if i < page.categories.size %}, {% elsif i == page.categories.size %}
+ in
+ {% endif %}{% endfor %}.
</p>
{{ content }}