diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2017-04-08 13:44:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 13:44:58 +0200 |
commit | 88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7 (patch) | |
tree | 6e6c99fab6a0c45ba96bfb501f581b3a71e7917a /pelican-striped-html5up/templates/pagination.html | |
parent | 5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (diff) | |
parent | 3a009cc2c24552366b823c69e393029c14fe8758 (diff) | |
download | pelican-themes-88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7.tar.gz |
Merge branch 'master' into bricabractheme
Diffstat (limited to 'pelican-striped-html5up/templates/pagination.html')
-rw-r--r-- | pelican-striped-html5up/templates/pagination.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pelican-striped-html5up/templates/pagination.html b/pelican-striped-html5up/templates/pagination.html new file mode 100644 index 0000000..37e970d --- /dev/null +++ b/pelican-striped-html5up/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} +<p class="paginator"> + {% if articles_page.has_previous() %} + <a class="button previous" href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newer Entries</a> + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + <a class="button next" href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Entries</a> + {% endif %} +</p> +{% endif %} |