Sha256: 44cd5aaba3f550fef48526cf2ea938f89a17c2c8e366fc1a5bbce002a20a5deb
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 KB
Contents
{%- include reset/workdir.liquid %} {%- assign dir = site_pages | where: "url", workdir | first -%} {%- if site_lang != lang -%} {%- assign workdir_level = workdir_level | minus: 1 -%} {%- endif -%} {%- if workdir_level == 2 %} <p class="caption"><span class="caption-text">{{ dir.title | default: dir.url }}</span></p> {%- else %} <a class="reference internal" href="{{ site.baseurl | append: dir.url }}">{{ dir.title | default: dir.url }}</a> {%- endif -%} <ul> {%- for item in workdir_files -%} {%- assign level = item.dir | append: "temp/" | split: "/" | size | minus: 2 -%} {%- capture current -%} {%- if page.url == item.url %}current{% endif -%} {%- endcapture %} {%- if site_lang != lang -%} {%- assign level = level | minus: 1 -%} {%- endif -%} <li class="toctree-l{{ level }} {{ current }}"> <a class="reference internal {{ current }}" href="{{ site.baseurl | append: item.url }}"> {%- if item.sort and site.show_sorted != false -%} {{ item.sort }}. {%- endif %} {{ item.title | default: item.url }} </a> </li> {%- endfor -%} {%- for workdir in workdir_dirs -%} {%- assign level = workdir | append: "temp/" | split: "/" | size | minus: 3 %} {%- if site_lang != lang -%} {%- assign level = level | minus: 1 -%} {%- endif -%} <li class="toctree-l{{ level }}">{% include extend/toctree.liquid %}</li> {%- endfor -%} </ul>
Version data entries
4 entries across 4 versions & 1 rubygems