Sha256: 33c59c36408f8b3b859d03a33bf946481f04f88dfa3f06c7ea72825270d39e7e

Contents?: true

Size: 991 Bytes

Versions: 3

Compression:

Stored size: 991 Bytes

Contents

{%- assign current_url = page.url | remove: 'index.html' %}
<nav class="site-breadcrumbs" aria-label="{{ 'aria' | t: 'breadcrumbs' }}">
    <ol vocab="http://schema.org/" typeof="BreadcrumbList">
       {%- for crumb in breadcrumbs %} 
         {%- if forloop.last %}
      <li property="itemListElement" typeof="ListItem">
         <a property="item" typeof="WebPage" href="{{ crumb.url | relative_url }}" aria-current="page">
            <span property="name">{{ crumb.title }}</span>
            <meta property="position" content="{{ crumb.position }}" />
         </a>
      </li>
         {%- else %}
       <li property="itemListElement" typeof="ListItem">
          <a property="item" typeof="WebPage" href="{{ crumb.url | relative_url }}">
             <span property="name">{{ crumb.title }}</span>
             <meta property="position" content="{{ crumb.position }}" />
          </a>
       </li>
         {%- endif %}
       {%- endfor %}
    </ol>
  </nav>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fenton-jekyll-boilerplate-0.0.14 _includes/breadcrumbs.html
fenton-jekyll-boilerplate-0.0.13 _includes/breadcrumbs.html
fenton-jekyll-boilerplate-0.0.12 _includes/breadcrumbs.html