summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-07 18:23:30 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-07 18:23:30 +0100
commit4810471fcc70d938f48cc865e111a3d66bb13ab4 (patch)
tree58edfe652fbf1448c4273f750e3d1e75b1f6c13e
parentdodal razne linke in sl_SI (diff)
downloadsijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar.gz
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar.bz2
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar.lz
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar.xz
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.tar.zst
sijanec.eu-4810471fcc70d938f48cc865e111a3d66bb13ab4.zip
-rw-r--r--_authors/anton.md1
-rw-r--r--_config.yml3
-rw-r--r--_layouts/post.html8
3 files changed, 8 insertions, 4 deletions
diff --git a/_authors/anton.md b/_authors/anton.md
index 4941dac..2b71768 100644
--- a/_authors/anton.md
+++ b/_authors/anton.md
@@ -2,6 +2,7 @@
short_name: anton
name: Anton Luka Šijanec
position: Administrator
+layout: author
---
Anton Luka Šijanec je administrator tega spletišča.
diff --git a/_config.yml b/_config.yml
index 5fa1133..7b8a0be 100644
--- a/_config.yml
+++ b/_config.yml
@@ -27,6 +27,9 @@ collections:
authors:
output: true
permalink: /blog/avtorji/:name
+ posts:
+ output: true
+ permalink: /blog/:year/:month/:day/:title:output_ext
defaults:
- scope:
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 %}
- <a href="{{ author.url }}">{{ author.name }}</a>
+ <a href="/blog/avtorji.html#{{ author.short_name }}">{{ author.name }}</a>
{% else %}
- <a href="{{ anon.url }}">{{ anon.name }}</a>
+ <a href="/blog/avtorji.html#{{ anon.short_name }}">{{ anon.name }}</a>
{% endif %}
- kategorije:
{% assign i = 1 %}
{% for category in page.categories %}
{% assign i = i | plus: 1 %}
- <a href="/blog/kategorije#{{ category }}">{{ category }}</a>{%
+ <a href="/blog/kategorije.html#{{ category }}">{{ category }}</a>{%
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 %}
- <a href="/blog/znacke#{{ tag }}">{{ tag }}</a>{%
+ <a href="/blog/znacke.html#{{ tag }}">{{ tag }}</a>{%
if i < page.tags.size %}, {% elsif i == page.tags.size %}
in
{% endif %}{% endfor %}.