27 lines
804 B
HTML
27 lines
804 B
HTML
{# Older/Newer links #}
|
|
|
|
{% if can_older or can_newer %}
|
|
<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 %}
|
|
|
|
{% if can_older %} | {% endif %}
|
|
{% endif %}
|
|
|
|
{% 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 %}
|
|
|
|
]
|
|
</div>
|
|
{% endif %} |