github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/docs/_includes/collection_browser/_doc-header.html (about) 1 <div class="cb-doc-header"> 2 <ol class="breadcrumb text-center"> 3 {% assign crumbs = page.url | split: '/' %} 4 <a href="{{site.baseurl}}/{{ page.collection }}" ga-on="click" ga-event-category="{{ page.collection }}-{{ page.title | slugify }}" ga-event-action="{{ page.collection }}-main-index">{{ page.collection | capitalize }}</a> 5 {% for crumb in crumbs offset: 2 %} 6 {% if forloop.last %} 7 <a href="#"> / <span> {{ page.title | replace: '-',' ' | replace: '%20', ' ' }}</span></a> 8 {% else %} 9 <a href="{{ site.baseurl }}/{{ page.collection }}#{{ crumb | replace: '%20', '-' }}" ga-on="click" ga-event-category="{{ page.collection }}-{{ page.title | slugify }}" ga-event-action="{{ page.collection }}-breadcrumb-{{ crumb }}">/ <span>{{ crumb | replace:'-',' ' | replace: '%20', ' ' | capitalize }}</span></a> 10 {% endif %} 11 {% endfor %} 12 </ol> 13 <div class="cb-doc-title text-center"> 14 {% if page.image %} 15 <img class="img-center cb-doc-title-image" src="{{ site.baseurl }}{{ page.image }}" alt="post logo"> 16 {% endif %} 17 <h1>{{ page.title }}</h1> 18 {% if page.tags %} 19 {% for tag in page.tags %} 20 <span class="badge badge-pill badge-default"> 21 {% capture tag-name %}{{tag | upcase }}{% endcapture %} 22 {{tag-name | capitalize}} 23 </span> 24 {% endfor %} 25 {% endif %} 26 </div> 27 </div>