Sha256: 42dd7b602e38abd2ecca936e958f4c99e18315bd75a7f1765ca448e8a321060e

Contents?: true

Size: 722 Bytes

Versions: 15

Compression:

Stored size: 722 Bytes

Contents

{%- if include.p == 'previous' -%}
  {%- assign align = 'pull-left' -%}
  {%- assign arrow = 'before' -%}
  {%- assign indicator = 'Previous' -%}
{%- else -%}
  {%- assign align = 'pull-right' -%}
  {%- assign arrow = 'next' -%}
  {%- assign indicator = 'Next' -%}
{%- endif -%}

{%- assign _p = include.item -%}

<div class="paginator {{ arrow }}">
  {%- if _p %}
  <div class="{{ align }}">
    <span>{{ indicator }}</span>
    <span class="material-symbols-outlined">navigate_{{ arrow }}</span>
  </div>
  <a href="/session/{{ _p.url }}">
    {%- if _p.header -%}
      {{ _p.header }} &bull;&nbsp;
    {%- endif -%}
    {{ _p.title }}
  </a>
  {%- else %}
  <div class="{{ align }}">&nbsp;</div>
  {% endif -%}
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
askclass-course-theme-0.14.0 _includes/session/next_prev.html
askclass-course-theme-0.13.5 _includes/session/next_prev.html
askclass-course-theme-0.13.4 _includes/session/next_prev.html
askclass-course-theme-0.13.3 _includes/session/next_prev.html
askclass-course-theme-0.13.2 _includes/session/next_prev.html
askclass-course-theme-0.13.1 _includes/session/next_prev.html
askclass-course-theme-0.13.0 _includes/session/next_prev.html
askclass-course-theme-0.12.0 _includes/session/next_prev.html
askclass-course-theme-0.11.1 _includes/session/next_prev.html
askclass-course-theme-0.11.0 _includes/session/next_prev.html
askclass-course-theme-0.10.0 _includes/session/next_prev.html
askclass-course-theme-0.9.0 _includes/session/next_prev.html
askclass-course-theme-0.8.0 _includes/session/next_prev.html
askclass-course-theme-0.7.3 _includes/session/next_prev.html
askclass-course-theme-0.7.2 _includes/session/next_prev.html