aboutsummaryrefslogtreecommitdiff
path: root/theme/bulma/templates/partial/pagination.html
blob: 05dfc8ca1e09f27f1e82560cbe87871bd04e07bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 %}