theme/templates/paginator.html

Sat, 19 Mar 2016 00:50:44 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 19 Mar 2016 00:50:44 +0100
changeset 42
3c30fc0f8ce0
parent 36
9507107a1133
permissions
-rw-r--r--

[theme] add '(last updated on xxx)' in article timestamps when available

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