blob: 48a77688dee1e9b2ffa987e596b75e5aa1123339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<ol class="bl" id="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
<li class="nav-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="/"><span itemprop="name">Home</span></a> →
<meta itemprop="position" content="1" />
</li>
{% for crumb in breadcrumbs %}<li class="nav-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">{% if forloop.last %}
<span itemprop="item">
<span itemprop="name" class="faint">{{crumb}}</span>
</span>
<meta itemprop="position" content="{{ forloop.counter|add:"+1"}}" />{%else%}
<a href="{{crumb_url}}" itemprop="item"><span itemprop="name">{{crumb}}</span></a> →
<meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />{% endif %}
</li>{%endfor%}
</ol>
|