diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2024-06-19 14:44:10 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2024-06-19 14:44:10 +0200 |
commit | e0a989555b6bef9173088da9e0b980338a88ce0c (patch) | |
tree | 3e35bc65664e881d62cf14970d482884b80289f7 /theme/bulma/templates/partial/pagination.html | |
parent | 3b3c4db1bdd29b46a23051fc5427197ce2831764 (diff) |
Swiched the theme to bulma-css
Diffstat (limited to 'theme/bulma/templates/partial/pagination.html')
-rw-r--r-- | theme/bulma/templates/partial/pagination.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/theme/bulma/templates/partial/pagination.html b/theme/bulma/templates/partial/pagination.html new file mode 100644 index 0000000..05dfc8c --- /dev/null +++ b/theme/bulma/templates/partial/pagination.html @@ -0,0 +1,14 @@ +{% if DEFAULT_PAGINATION %} + <div class="pagination mt-6"> + {% if articles_page.has_next() %} + <a class="pagination-previous" href="{{ SITEURL }}/{{ articles_next_page.url }}"> + <i class="fa fa-angle-left"></i> {{ _('Older Posts') }} + </a> + {% endif %} + {% if articles_page.has_previous() %} + <a class="pagination-next" href="{{ SITEURL }}/{{ articles_previous_page.url }}"> + {{ _('Newer Posts') }} <i class="fa fa-angle-right"></i> + </a> + {% endif %} + </div> +{% endif %} |