Sha256: 45892699e4402047924c4a82dcd79bce07d361b60ad01e50301f4f2e616e4ec0

Contents?: true

Size: 808 Bytes

Versions: 5

Compression:

Stored size: 808 Bytes

Contents

{% if paginator.total_pages > 1 %}
<ul class="pagination d-flex">
  {% if paginator.previous_page %}
  <li class="mr-auto">
    <a class="pagination-nav text-black" href="{{ paginator.previous_page_path | prepend: site.url }}">Newer</a>
  </li>
  {% endif %}
  {% if paginator.next_page %}
  <li class="ml-auto">
    <a class="pagination-nav text-black" href="{{ paginator.next_page_path | prepend: site.url }}">Older</a>
  </li>
  {% endif %}
</ul>
{% endif %}
{% if paginator.page_trail %}
<ul class="pagination d-flex">
  {% for trail in paginator.page_trail %}
    <li {% if page.url == trail.path %}class="selected"{% endif %}>
        <a class="pagination-nav text-black" href="{{ trail.path | prepend: site.url }}" title="{{trail.title}}">{{ trail.num }}</a>
    </li>
  {% endfor %}
</ul>
{% endif %}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lbenicio-minimal-v1-1.0.10 _includes/pagination.html
lbenicio-minimal-v1-1.0.9 _includes/pagination.html
lbenicio-minimal-v1-1.0.7 _includes/pagination.html
lbenicio-minimal-v1-1.0.6 _includes/pagination.html
lbenicio-minimal-v1-1.0.5 _includes/pagination.html