2017-07-04 06:00:32 +00:00
|
|
|
---
|
|
|
|
layout: full-text
|
2017-12-19 21:13:58 +00:00
|
|
|
title: titles.allposts
|
2017-07-04 06:00:32 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
{% for post in paginator.posts %}
|
|
|
|
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
|
|
|
<p>
|
|
|
|
{{ post.summary }}
|
|
|
|
<small>{% t blog.tagged %}:
|
|
|
|
{% for tag in post.tags %}
|
2017-11-20 13:36:09 +00:00
|
|
|
<a href="/blog/tags/{{ tag }}.html">[{{ tag }}]</a>
|
2017-07-04 06:00:32 +00:00
|
|
|
{% endfor %}
|
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if paginator.total_pages > 1 %}
|
|
|
|
<div class="text-center page-numbers"><h4>
|
|
|
|
{% 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 %}
|
|
|
|
</h4></div>
|
2017-11-20 13:36:09 +00:00
|
|
|
{% endif %}
|