parent
cbf2962970
commit
e0ea4353d3
3 changed files with 7 additions and 6 deletions
@ -1,9 +1,10 @@ |
||||
{% for ance in ancestors %} |
||||
<li> |
||||
<li property="itemListElement" typeof="ListItem"> |
||||
{% if not forloop.last or link_all %} |
||||
<a href="{{ ance.get_absolute_url }}">{{ ance.get_menu_title }}</a> |
||||
<a href="{{ ance.get_absolute_url }}" property="item" typeof="WebPage"><span property="name">{{ ance.get_menu_title }}</span></a> |
||||
{% else %} |
||||
<span class="active">{{ ance.get_menu_title }}</span> |
||||
<span class="active" property="name">{{ ance.get_menu_title }}</span> |
||||
{% endif %} |
||||
<meta property="position" content="{{ forloop.counter }}"> |
||||
</li> |
||||
{% endfor %} |
||||
Loading…
Reference in new issue