-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (42 loc) · 1.53 KB
/
index.html
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
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in paginator.posts %}
<li style="clear: both">
<span class="post-meta">
{{ post.date | localize: "%d. %B %Y" }}
{% unless post.categories == empty %}
{% for category in post.categories %}
• <a href="/category/{{category | slugify}}">{{ category }}</a>
{% endfor %}
{% endunless %}
{% unless post.tags == empty %}
{% for tag in post.tags %}
• <a href="/tag/{{tag | slugify}}">{{ tag }}</a>
{% endfor %}
{% endunless %}
</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{{ post.excerpt | hyphenate }}
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">« Novější</a>
{% else %}
<span class="previous"> </span>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Starší »</a>
{% else %}
<span class="next "> </span>
{% endif %}
</div>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>