{% if site.enabled.breadcrumbs %} {% capture url_parts %} {{ page.url | remove: "/index.html" | replace:'/'," " }}{% endcapture %} {% capture num_parts %}{{ url_parts | number_of_words | minus: 1 }}{% endcapture %} {% assign previous="" %}
    {% if num_parts == "0" or num_parts == "-1" %}
  1. Home  
  2. {% else %}
  3. Home /
  4. {% for unused in page.content limit:num_parts %} {% capture first_word %}{{ url_parts | truncatewords:1 | remove:"..."}}{% endcapture %} {% capture previous %}{{ previous }}/{{ first_word }}{% endcapture %}
  5. {{ first_word }}
  6. {% capture url_parts %}{{ url_parts | remove_first:first_word }}{% endcapture %} {% endfor %} {% endif %}
  7. / {{page.title}}
{% endif %}