1 {%- if paginator.posts.size
> 0 -%}
2 <!--<h3 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h3>-->
4 {%- for post in paginator.posts -%}
6 {%- assign date_format = site.date_format | default:
"%-d. %-m. %Y" -%}
8 <a href=
"{{ post.url | relative_url }}" class=
"post-link">
9 {{ post.title | escape }}
12 <p class=
"post-meta">Vyšlo {{ post.date | date: date_format }} – Napsal {{ post.author }}
</p>
13 {%- if site.show_excerpts -%}
17 <figure class=
"post-image">
18 <a href=
"{{ post.url | relative_url }}">
19 <img src=
"{{ post.image | prepend: '/images/posts/' | relative_url }}" alt=
"{{ post.image-alt }}">
23 <p class=
"post-more"><a href=
"{{ post.url | relative_url }}">Pokračovat ve čtení zápisku →
</a></p>
29 {% if paginator.total_pages
> 1 %}
30 <aside class=
"pagination">
31 {% if paginator.previous_page %}
32 <a href=
"{{ paginator.previous_page_path | relative_url }}">« Novější zápisky
</a>
34 <span>« Novější zápisky
</span>
37 [{% for page in (
1..paginator.total_pages) %}
38 {% if page == paginator.page %}
41 <a href=
"{{ "/
" | relative_url }}">{{ page }}
</a>
43 <a href=
"/{{ site.paginate_path | relative_url | replace: ":num
", page }}">{{ page }}
</a>
45 {% if page < paginator.total_pages %}·{% endif %}
48 {% if paginator.next_page %}
49 <a href=
"{{ paginator.next_page_path | relative_url }}">Starší zápisky
»</a>
51 <span>Starší zápisky
»</span>