arrfab / centos / centos.org

Forked from centos/centos.org 2 years ago
Clone

Blame _includes/breadcrumbs.html

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