diff options
author | Fish <aroaminggeek@users.noreply.github.com> | 2017-03-25 16:38:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-25 16:38:01 -0600 |
commit | 36c2ef5937c24f9f276f75ac439ec2670f33e5b3 (patch) | |
tree | 3a5df2b2bbc95fefc847a2c58a2ec862188e2cd3 /pelican-striped-html5up/templates/pagination.html | |
parent | d7779b637b990aa70266d55faf842fbb4c837715 (diff) | |
download | pelican-themes-36c2ef5937c24f9f276f75ac439ec2670f33e5b3.tar.gz |
pelican-striped-html5up added
for pull request to origin
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 %} |