summaryrefslogtreecommitdiff
path: root/design/templates/lib/breadcrumbs_detail.html
blob: 170c53a56601038835ce5b7a9074d110beb9658e (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 itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
            <a itemprop="item" href="/"><span itemprop="name">Home</span></a> &rarr;
            <meta itemprop="position" content="1" />
        </li>
        {% for crumb in breadcrumbs %}<li 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> &rarr;
            <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" />{% endif %}
        </li>{%endfor%}
    </ol>