theme/templates/paginator.html

Wed, 16 Oct 2019 21:52:38 +0200

author
David Douard <david.douard@sdfa3.org>
date
Wed, 16 Oct 2019 21:52:38 +0200
changeset 114
33cd55d481ba
parent 36
9507107a1133
permissions
-rw-r--r--

theme: add support for rss feed

{% if DEFAULT_PAGINATION %}
<p class="paginator">
    {% if articles_page.has_previous() %}
        <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a>
    {% endif %}
    Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
    {% if articles_page.has_next() %}
        <a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a>
    {% endif %}
</p>
{% endif %}

mercurial