theme/templates/paginator.html

Wed, 11 Apr 2018 23:16:49 +0200

author
David Douard <david.douard@logilab.fr>
date
Wed, 11 Apr 2018 23:16:49 +0200
changeset 94
c5adcccbd4cf
parent 36
9507107a1133
permissions
-rw-r--r--

[conf] disable the assets plugin

unused and make pelican fail due to missing config variables.

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