Sha256: a25539310f2f6aa4ac66875ff8a91b39b50fbe8b83de818bd12de04238216f90

Contents?: true

Size: 1.79 KB

Versions: 20

Compression:

Stored size: 1.79 KB

Contents

{% if paginator.total_pages > 1 %}
<div class="pagination">
    <div class="previous">
        
        {% if paginator.previous_page and paginator.previous_page != 1%}
        <!-- << -->
        <a aria-label="{{ site.data.language.str_previous_page | default: 'Prev' }}" href="{{ '/' | relative_url }}" class="button">
            <span><i class="fas fa-angle-double-left"></i></span>
        </a>
        {% endif %}
        
        <!-- < previous -->
        <a aria-label="{{ site.data.language.str_previous_page | default: 'Prev' }}" href="{{ paginator.previous_page_path | relative_url }}"
           {% unless paginator.previous_page %}style="visibility:hidden"{% endunless %} class="button">
            <span><i class="fas fa-chevron-left"></i></span>
            {{ site.data.language.str_previous_page | default: "Prev" }}
        </a>
    </div>

    <div class="page_number">
        {{ paginator.page }} / {{ paginator.total_pages }}
    </div>

    <div class="next">
        
        <!-- next > -->
        <a aria-label="{{ site.data.language.str_next_page | default: 'Next' }}" href="{{ paginator.next_page_path | relative_url }}"
           {% unless paginator.next_page %}style="visibility:hidden"{% endunless %} class="button">
            {{ site.data.language.str_next_page | default: "Next" }}
            <span><i class="fas fa-chevron-right"></i></span>
        </a>

        {% if paginator.next_page and paginator.next_page != paginator.total_pages %}
        <!-- >> -->
        <a aria-label="{{ site.data.language.str_next_page | default: 'Next' }}"
        href="{{ site.paginate_path | relative_url | replace: ':num', paginator.total_pages }}" class="button">
            <span><i class="fas fa-angle-double-right"></i></span>
        </a>
        {% endif %}
        
    </div>
</div>
{% endif %}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
type-on-strap-2.4.10 _includes/blog/blog_nav.liquid
type-on-strap-2.4.9 _includes/blog/blog_nav.liquid
type-on-strap-2.4.8 _includes/blog/blog_nav.liquid
type-on-strap-2.4.7 _includes/blog/blog_nav.liquid
type-on-strap-2.4.6 _includes/blog/blog_nav.liquid
type-on-strap-2.4.5 _includes/blog/blog_nav.liquid
type-on-strap-2.4.4 _includes/blog/blog_nav.liquid
type-on-strap-2.4.3 _includes/blog/blog_nav.liquid
type-on-strap-2.4.2 _includes/blog/blog_nav.liquid
type-on-strap-2.4.1 _includes/blog/blog_nav.liquid
type-on-strap-2.4.0 _includes/blog/blog_nav.liquid
type-on-strap-2.3.11 _includes/blog/blog_nav.liquid
type-on-strap-2.3.10 _includes/blog/blog_nav.liquid
type-on-strap-2.3.9 _includes/blog/blog_nav.html
type-on-strap-2.3.8 _includes/blog/blog_nav.html
type-on-strap-2.3.7 _includes/blog/blog_nav.html
type-on-strap-2.3.6 _includes/blog/blog_nav.html
type-on-strap-2.3.5 _includes/blog/blog_nav.html
type-on-strap-2.3.4 _includes/blog_nav.html
type-on-strap-2.3.3 _includes/blog_nav.html