Sha256: 57a65ff43e4970441239ab89c1198c971bfaae62b9385a16f6d5520a0ba6e8d5

Contents?: true

Size: 1.09 KB

Versions: 8

Compression:

Stored size: 1.09 KB

Contents

<!-- pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination2">
    {% if paginator.previous_page %}
    <a style="color: green; font-weight: 900;"
        href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
    {% else %}
    <span class="text-muted">&laquo; Prev</span>
    {% endif %}

    {% for page in (1..paginator.total_pages) %}
    {% if page == paginator.page %}
    <span class="webjeda text-muted">{{ page }}</span>
    {% elsif page == 1 %}
    <a href="/blog" style="color: green; font-weight: 900;">{{ page }}</a>
    {% else %}
    <a style="color: green; font-weight: 900;"
        href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page
        }}</a>
    {% endif %}
    {% endfor %}

    {% if paginator.next_page %}
    <a style="color:green; font-weight: 900;"
        href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next
        &raquo;</a>
    {% else %}
    <span class="text-muted">Next &raquo;</span>
    {% endif %}
</div>
{% endif %}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
appscms-tools-theme-0.1.9 _includes/pagination2.html
appscms-tools-theme-0.1.8 _includes/pagination2.html
appscms-tools-theme-0.1.7 _includes/pagination2.html
appscms-tools-theme-0.1.6 _includes/pagination2.html
appscms-tools-theme-0.1.5 _includes/pagination2.html
appscms-tools-theme-0.1.4 _includes/pagination2.html
appscms-tools-theme-0.1.3 _includes/pagination2.html
appscms-tools-theme-0.1.2 _includes/pagination2.html