{% assign crumbs = page.url | remove:'/index.html' | split: '/' %} Home {% for crumb in crumbs offset: 1 %} {% if forloop.last %} / {{ page.title }} {% else %} / {{ crumb | replace:'-',' ' | remove:'.html' }} {% endif %} {% endfor %}