Sha256: 6d26fcebb2952e6911a5381bbcd49301c4f876faed9a66bde909f26ef9d85c79
Contents?: true
Size: 1.83 KB
Versions: 3
Compression:
Stored size: 1.83 KB
Contents
<div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li> <a href="{{ site.baseurl }}/" class="icon icon-home"></a><i class="fa fa-angle-double-right"></i> </li> {%- case page.url -%} {%- when "/search.html" %} <li>{{ __search }}</li> {%- when "/404.html" %} <li>{{ __404 }}</li> {%- else -%} {%- assign blocks = page.path | split: "/" -%} {%- assign length = blocks | size -%} {%- if page.dir == page.url and page.url != "/" -%} {%- assign length = blocks | size | minus: 1 -%} {%- endif -%} {%- for block in blocks limit: length -%} {%- if forloop.last %} <li>{{ page.title }}</li> {%- else -%} {%- capture href -%} {{ site.baseurl }}/{% for block in blocks limit: forloop.index %}{{ block | append: "/" }}{% endfor %} {%- endcapture %} <li> <a href="{{ href }}"> {%- if block == lang -%} {{ block }} {%- else -%} {{ block | capitalize }} {%- endif -%} </a><i class="fa fa-angle-double-right"></i> </li> {%- endif -%} {%- endfor -%} {%- endcase %} {%- if site.edit -%} <li class="wy-breadcrumbs-aside"> <a href="{{ github_edit_link }}" class="fa fa-edit" target="_blank"></a> </li> {%- endif -%} </ul> <hr> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-rtd-theme-1.0.2 | _includes/breadcrumbs.liquid |
jekyll-rtd-theme-1.0.1 | _includes/breadcrumbs.liquid |
jekyll-rtd-theme-1.0.0 | _includes/breadcrumbs.liquid |