Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
- {% for i,breadcrumb in breadcrumbs %}
- <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
- {% if (breadcrumbs|length > i+1 ) %}
- <a itemprop="item" href="{{ breadcrumb['href'] }}" >
- <span itemprop="name">{{ breadcrumb['text'] }}</span>
- <meta itemprop="position" content="{{i+1}}" />
- </a>
- {% else %}<span itemprop="name">{{ breadcrumb['text'] }}</span>
- {% endif %}</li>
- {% endfor %}
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement