Sha256: d1b1202e9d4c07b4f78e990d43d022eef4477354fc6bc3ff8147e82db2e3c201

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

{%- include common/rest/workdir.liquid workdir=page.dir -%}

{% comment %} prev and next {% endcomment %}
{%- assign index = 0 -%}
{%- for item in workdir_files %}
    {%- if item.url == page.url %}
        {%- assign index = forloop.index -%}
    {%- endif %}
{%- endfor -%}

{%- for item in workdir_files -%}
    {%- assign index_prev = index | minus: 1 -%}
    {%- assign index_next = index | plus: 1 -%}
    {%- if forloop.index == index_prev -%}
        {%- assign prev = item -%}
    {%- endif %}
    {%- if forloop.index == index_next -%}
        {%- assign next = item -%}
    {%- endif %}
{%- endfor -%}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
truesight-rtd-theme-1.0.1 _includes/common/rest/nav.liquid
truesight-rtd-theme-1.0.0 _includes/common/rest/nav.liquid
jekyll-rtd-theme-2.0.10 _includes/common/rest/nav.liquid