Sha256: 6f57e28b5cba960136eb2609235031c0f5014ea6d6daf84d84cb0a7829442937

Contents?: true

Size: 535 Bytes

Versions: 16

Compression:

Stored size: 535 Bytes

Contents

{% assign p = page[include.p] %}
{% if p %}
<div class="paginator">
  {% if include.p == 'next' %}
    {% assign align = 'pull-left' %}
    {% assign arrow = 'before' %}
  {% else %}
    {% assign align = 'pull-right' %}
    {% assign arrow = 'next' %}
  {% endif %}
  <div class="{{ align }}">
    <span>{{ include.p | capitalize }}</span>
    <span class="material-icons">navigate_{{ arrow }}</span>
  </div>
  <img src="{{ p.image }}" width="100%" alt="{{ p.title }}" />
  <a href="{{ p.url }}">{{ p.title }}</a>
</div>
{% endif %}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
askclass-news-theme-0.3.0 _includes/post/nextprev.html
askclass-news-theme-0.2.12 _includes/post/nextprev.html
askclass-news-theme-0.2.11 _includes/post/nextprev.html
askclass-news-theme-0.2.10 _includes/post/nextprev.html
askclass-news-theme-0.2.9 _includes/post/nextprev.html
askclass-news-theme-0.2.8 _includes/post/nextprev.html
askclass-news-theme-0.2.7 _includes/post/nextprev.html
askclass-news-theme-0.2.6 _includes/post/nextprev.html
askclass-news-theme-0.2.5 _includes/post/nextprev.html
askclass-news-theme-0.2.4 _includes/post/nextprev.html
askclass-news-theme-0.2.3 _includes/post/nextprev.html
askclass-news-theme-0.2.2 _includes/post/nextprev.html
askclass-news-theme-0.2.1 _includes/post/nextprev.html
askclass-news-theme-0.2.0 _includes/post/nextprev.html
askclass-news-theme-0.1.1 _includes/post/nextprev.html
askclass-news-theme-0.1.0 _includes/post/nextprev.html