Sha256: e1db1b5d5ff7f2b8525b323acc2cadab7f2c3425019a4fe39d45756c3e741eed
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
{%- include reset/workspace.liquid %} {%- assign dir = html_pages | where: "url", workspace | first -%} {%- if workspace_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 workspace_files -%} {%- assign level = item.dir | append: "temp/" | split: "/" | size | minus: 2 -%} {%- capture current -%} {%- if page.url == item.url %}current{% endif -%} {%- endcapture %} <li class="toctree-l{{ level }} {{ current }}"> <a class="reference internal {{ current }}" href="{{ site.baseurl | append: item.url }}"> {%- if item.sort -%} {{ item.sort }}. {%- endif %} {{ item.title | default: item.url }} </a> </li> {%- endfor -%} {%- for workspace in workspace_dirs -%} {%- assign level = workspace | append: "temp/" | split: "/" | size | minus: 3 %} <li class="toctree-l{{ level }}">{% include extend/toctree.liquid %}</li> {%- endfor -%} </ul>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-rtd-theme-0.1.7 | _includes/extend/toctree.liquid |
jekyll-rtd-theme-0.1.6 | _includes/extend/toctree.liquid |