From 4810471fcc70d938f48cc865e111a3d66bb13ab4 Mon Sep 17 00:00:00 2001 From: sijanec Date: Sat, 7 Nov 2020 18:23:30 +0100 Subject: prettyfied some urls --- _layouts/post.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 84f6d39..86c1f10 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -10,15 +10,15 @@ layout: default {% assign anon = site.authors | where: 'short_name', "anonymous" | first %} - {% if author %} - {{ author.name }} + {{ author.name }} {% else %} - {{ anon.name }} + {{ anon.name }} {% endif %} - kategorije: {% assign i = 1 %} {% for category in page.categories %} {% assign i = i | plus: 1 %} - {{ category }}{% + {{ category }}{% if i < page.categories.size %}, {% elsif i == page.categories.size %} in {% endif %}{% endfor %}. @@ -26,7 +26,7 @@ layout: default {% assign i = 1 %} {% for tag in page.tags %} {% assign i = i | plus: 1 %} - {{ tag }}{% + {{ tag }}{% if i < page.tags.size %}, {% elsif i == page.tags.size %} in {% endif %}{% endfor %}. -- cgit v1.2.3