2015-02-14 19:39:47 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: All Blog Posts
|
|
|
|
---
|
|
|
|
|
2015-02-15 10:30:34 +00:00
|
|
|
<h2>{% t blog.title_1 %} <span class="purple-kicks">{% t blog.title_2 %}</span> {% t blog.title_3 %}</h2>
|
|
|
|
|
2015-02-14 19:39:47 +00:00
|
|
|
{% for post in paginator.posts %}
|
2015-02-15 10:30:34 +00:00
|
|
|
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
|
|
|
<blockquote>
|
2015-02-14 19:39:47 +00:00
|
|
|
{{ post.summary }}
|
2015-02-15 10:30:34 +00:00
|
|
|
<small>{% t blog.tagged %}:
|
|
|
|
{% for tag in post.tags %}
|
|
|
|
[{{ tag }}]
|
|
|
|
{% endfor %}
|
|
|
|
</small>
|
|
|
|
</blockquote>
|
2015-02-14 19:39:47 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% if paginator.total_pages > 1 %}
|
2015-02-15 10:30:34 +00:00
|
|
|
<div class="text-center">
|
2015-02-14 19:39:47 +00: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="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ site.paginate_path | prepend: site.baseurl | 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 %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|