2017-07-04 09:00:32 +03:00
|
|
|
---
|
2019-01-19 05:18:55 +02:00
|
|
|
layout: base
|
2017-12-19 23:13:58 +02:00
|
|
|
title: titles.allposts
|
2017-07-04 09:00:32 +03:00
|
|
|
---
|
|
|
|
|
2019-01-19 05:18:55 +02:00
|
|
|
<h1 class="text-center">{% t page.title %}</h1>
|
|
|
|
|
|
|
|
<div class="site-wrap">
|
|
|
|
<!-- FULL WIDTH BLOCK -->
|
|
|
|
<section class="container full">
|
|
|
|
<div>
|
|
|
|
{% for post in paginator.posts %}
|
|
|
|
<div class="post-lead info-block">
|
|
|
|
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
|
|
|
<p>
|
|
|
|
{{ post.summary }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<small>{% t blog.tagged %}:
|
|
|
|
{% for tag in post.tags %}
|
|
|
|
<a href="/blog/tags/{{ tag }}.html">[{{ tag }}]</a>
|
|
|
|
{% endfor %}
|
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<!-- END FULL WIDTH BLOCK -->
|
|
|
|
</div>
|
2017-07-04 09:00:32 +03:00
|
|
|
|
|
|
|
|
|
|
|
{% if paginator.total_pages > 1 %}
|
2019-01-19 05:18:55 +02:00
|
|
|
<div class="text-center page-numbers"><p>
|
2017-07-04 09:00:32 +03:00
|
|
|
{% if paginator.previous_page %}
|
|
|
|
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
|
|
|
{% else %}
|
|
|
|
<span>« Prev</span>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for page in (1..paginator.total_pages) %}
|
|
|
|
{% if page == paginator.page %}
|
|
|
|
<em>{{ page }}</em>
|
|
|
|
{% elsif page == 1 %}
|
|
|
|
<a href="{{ '/blog' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ site.paginate_path | prepend: '/' | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% if paginator.next_page %}
|
|
|
|
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
|
|
|
{% else %}
|
|
|
|
<span>Next »</span>
|
|
|
|
{% endif %}
|
2019-01-19 05:18:55 +02:00
|
|
|
</p></div>
|
2017-11-20 15:36:09 +02:00
|
|
|
{% endif %}
|