Sha256: 09a9a5cfeb4dfa172772bd6bfeac5bc1c5501175174bf20ae93f9d05f7ac9c2f

Contents?: true

Size: 587 Bytes

Versions: 10

Compression:

Stored size: 587 Bytes

Contents

{%- for crumbsNode in include.nodes -%}
  {%- include active.html node=crumbsNode -%}
  {%- if active -%}
    {%- assign active = false -%}
    <li class="breadcrumb-nav-list-item">
      {%- if crumbsNode.id == page.id -%}
        {{ crumbsNode.title }}
      {%- else -%}
        <a href="{{ crumbsNode.url | absolute_url }}">{{ crumbsNode.title }}</a>
      {%- endif -%}
    </li>
    {%- assign crumbsChildren = hierarchy | where_exp:"item", "item.name == crumbsNode.id" | map: "items" | first -%}
    {%- include crumbs.html nodes=crumbsChildren -%}
  {%- endif -%}
{%- endfor -%}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dendron-jekyll-0.3.12 _includes/crumbs.html
dendron-jekyll-0.3.11 _includes/crumbs.html
dendron-jekyll-0.3.9 _includes/crumbs.html
dendron-jekyll-0.3.8 _includes/crumbs.html
dendron-jekyll-0.3.7 _includes/crumbs.html
dendron-jekyll-0.3.6 _includes/crumbs.html
dendron-jekyll-0.3.5 _includes/crumbs.html
dendron-jekyll-0.3.4 _includes/crumbs.html
dendron-jekyll-0.3.3 _includes/crumbs.html
dendron-jekyll-0.3.2 _includes/crumbs.html