Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (32 sloc) 1.17 KB
---
layout: default
pagination:
enabled: true
---
{% for post in paginator.posts %}
<div class="post_listing">
<h2><a class="post_title" href="{{ post.id | relative_url }}#post-content">{{ post.title }}</a></h2>
<p class="post_excerpt">{{ post.excerpt }}</p>
{% if post.content-warnings %}
<p class="content-warnings"><strong>Content warnings:</strong> {{ post.content-warnings }}</p>
{% endif %}
<a href="{{post.id | relative_url}}#post-content">Continue reading?</a>
<p class="tags">
<strong>Tags: </strong>
{{ post | tags }}
</p>
<p>
<a href="{{ post.id | relative_url }}#post-content">Posted {{ post.date | date_to_string }}</a>
</p>
</div>
{% endfor %}
<div class="paginator flex-container">
{% if paginator.previous_page and paginator.previous_page != 1 %}
<a class="newer_link flex-item" href="{{ paginator.previous_page_path | relative_url }}">← Newer</a>
{% elsif paginator.previous_page == 1 %}
<a class="newer_link flex-item" href="{{ '' | absolute_url }}/">← Newer</a>
{% endif %}
{% if paginator.next_page %}
<a class="older_link flex-item" href="{{ paginator.next_page_path | relative_url }}">Older →</a>
{% endif %}
</div>
You can’t perform that action at this time.