Sha256: fe2f6df25758ea2fbeb949964fe9c5dc4d5a0fb22da88939b15accc390d03186
Contents?: true
Size: 1.72 KB
Versions: 259
Compression:
Stored size: 1.72 KB
Contents
{% if paginator.total_pages > 1 %} <div class="text-center" id="pagination_panel"> <ul class="pagination pagination-sm"> {% if paginator.previous_page %} <li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li> {% else %} <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a></li> {% endif %} {% if paginator.page_trail %} {% for trail in paginator.page_trail %} <li {% if page.url == trail.path %}class="active"{% endif %}> <a href="{% if trail.num == 1 %}/authors/{% else %} {{ site.paginate_path_authors | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}" title="{{trail.title}}">{{ trail.num }}</a> </li> {% endfor %} {% else %} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %} <li class="active"><a href="">{{ page }}</a></li> {% elsif page == 1 %} <li><a href="/authors/">{{ page }}</a></li> {% else %} <li><a href="{{ site.paginate_path_authors | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a></li> {% endif %} {% endfor %} {% endif %} {% if paginator.next_page %} <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li> {% else %} <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a></li> {% endif %} </ul> </div> {% endif %}
Version data entries
259 entries across 259 versions & 2 rubygems