2014-03-28 08:23:12 +00:00
|
|
|
{# Older/Newer links #}
|
|
|
|
|
|
|
|
{% if can_older or can_newer %}
|
2015-08-12 00:39:16 +00:00
|
|
|
<div class="right">
|
|
|
|
[
|
|
|
|
<a href="{{ url_for('blog.rss') }}">RSS Feed</a> |
|
|
|
|
{% if can_earlier %}
|
|
|
|
{% if category %}
|
|
|
|
<a href="{{ url_for('blog.category', category=category) }}?skip={{ earlier }}">< Newer</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('blog.index') }}?skip={{ earlier }}">< Newer</a>
|
|
|
|
{% endif %}
|
2014-03-28 08:23:12 +00:00
|
|
|
|
2015-08-12 00:39:16 +00:00
|
|
|
{% if can_older %} | {% endif %}
|
|
|
|
{% endif %}
|
2014-03-28 08:23:12 +00:00
|
|
|
|
2015-08-12 00:39:16 +00:00
|
|
|
{% if can_older %}
|
|
|
|
{% if category %}
|
|
|
|
<a href="{{ url_for('blog.category', category=category) }}?skip={{ older }}">Older ></a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('blog.index') }}?skip={{ older }}">Older ></a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2014-03-28 08:23:12 +00:00
|
|
|
|
2015-08-12 00:39:16 +00:00
|
|
|
]
|
|
|
|
</div>
|
2014-03-28 08:23:12 +00:00
|
|
|
{% endif %}
|