summaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
blob: 86c1f10c170d3c150d3db55a41976dd9faf4da4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
layout: default
---
<h1>
	{{ page.title }}
</h1>
<p>
	{{ page.date | date: site.short_date_format }}
	{% assign author = site.authors | where: 'short_name', page.author | first %}
	{% assign anon = site.authors | where: 'short_name', "anonymous" | first %}
	-
	{% if author %}
		<a href="/blog/avtorji.html#{{ author.short_name }}">{{ author.name }}</a>
	{% else %}
		<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.html#{{ category }}">{{ category }}</a>{%
		if i < page.categories.size %}, {% elsif i == page.categories.size %}
			in
		{% endif %}{% endfor %}.
	- značke:
	{% assign i = 1 %}
	{% for tag in page.tags %}
		{% assign i = i | plus: 1 %}
		<a href="/blog/znacke.html#{{ tag }}">{{ tag }}</a>{%
		if i < page.tags.size %}, {% elsif i == page.tags.size %}
			in
		{% endif %}{% endfor %}.

</p>

{{ content }}