Sha256: 68f37a6aa28b8ed29201b95a5165a8db7858dd9b3f02be8e87f06c8574061f4f
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
--- layout: default --- <ul style="list-style: none; padding: 0; margin: 0; flex: 1;"> {% for post in paginator.posts %} {% include post-item.html post=post %} {% endfor %} </ul> <div class="pagination"> {% if paginator.previous_page %} <s-icon-button> <s-icon type="chevron_left" onclick="selfOpen('{{ paginator.previous_page_path }}')"></s-icon> </s-icon-button> {% endif %} {% if paginator.total_pages > 3 %} <div class="pagination-indexing"> {% for page in (1..paginator.total_pages) %} {% assign page_link = paginator.base_path | append: '/' %} {% if page != 1 %} {% assign page_link = page_link | append: 'page' | append: page %} {% endif %} {% if page == paginator.page %} <span style="margin: 8px; font-weight: bolder;">{{ page }}</span> {% else %} <s-ripple style="border-radius: 4px;" onclick="selfOpen('{{ page_link }}')"> <span style="margin: 8px;">{{ page }}</span> </s-ripple> {% endif %} {% endfor %} </div> {% endif %} {% if paginator.next_page %} <s-icon-button> <s-icon type="chevron_right" onclick="selfOpen('{{ paginator.next_page_path }}')"></s-icon> </s-icon-button> {% endif %} </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sobekyll-0.2.1 | _layouts/home.html |
sobekyll-0.2.0 | _layouts/home.html |