Sha256: 8bc9e2ef106027a6ac8341e2f5febf3d1acfef2e72633f7ef88979c9175c20bd

Contents?: true

Size: 1002 Bytes

Versions: 1

Compression:

Stored size: 1002 Bytes

Contents

{%- include reset/workdir.liquid %}

{% comment %} list the root files {% endcomment %}
<ul>
    {%- for item in workdir_files -%}
        {%- assign level = item.dir | append: "temp" | replace_first: "/", "" | split: "/" | size -%}
        {%- capture current -%}
            {%- if page.url == item.url %}current{% endif -%}
        {%- endcapture %}
        <li class="toctree-l{{ level }} {{ current }}" data-sort="{{ item.sort }}" data-level="{{ level }}">
            <a class="reference internal {{ current }}" href="{{ item.url | relative_url }}">
                {%- if item.sort and site.show_sorted != false -%}
                    {{ item.sort }}. {{ item.title | default: item.url }}
                {%- else -%}
                    {{ item.title | default: item.url }}
                {%- endif -%}
            </a>
        </li>
    {%- endfor %}
</ul>

{% comment %} list the root dirs {% endcomment %}
{%- for workdir in workdir_dirs %}{% include extend/toctree.liquid %}{% endfor -%}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-1.1.8 _includes/class/_toctree.liquid