theme/templates/paginator.html

Thu, 05 Nov 2020 22:15:16 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 05 Nov 2020 22:15:16 +0100
changeset 128
aba381b2bac9
parent 36
9507107a1133
permissions
-rw-r--r--

Fix several inter-document links

and normalize use of absolute path for {static} and {filename} links.

{% 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