Sha256: 00b465cef5cf49d007e33c7c5b857c44da715029cc437ad7c787a761bbf854cf

Contents?: true

Size: 1014 Bytes

Versions: 1

Compression:

Stored size: 1014 Bytes

Contents

{% if paginator.total_pages > 1 %}
<nav class="pagination-wrap">
    <ul class="pagination">
        {% if paginator.previous_page %}
        <li>
            <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Previous">
                <span aria-hidden="true">&laquo;</span>
            </a>
        </li>
        {% endif %}

        {% if paginator.page_trail %}
        {% for trail in paginator.page_trail %}
            <li {% if page.url == trail.path %}class="active"{% endif %}>
                <a href="{{ trail.path | prepend: site.baseurl }}" title="{{trail.title}}">{{ trail.num }}</a>
            </li>
        {% endfor %}
        {% endif %}

        {% if paginator.next_page %}
        <li>
            <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" aria-label="Next">
                <span aria-hidden="true">&raquo;</span>
            </a>
        </li>
        {% endif %}
    </ul>
</nav>
{% endif %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chiefsan.github.io-0.0 _includes/pagination.html