10 lines
228 B
HTML
10 lines
228 B
HTML
|
{% for ance in ancestors %}
|
||
|
<li>
|
||
|
{% if not forloop.last %}
|
||
|
<a href="{{ ance.get_absolute_url }}">{{ ance.get_menu_title }}</a>
|
||
|
{% else %}
|
||
|
<span class="active">{{ ance.get_menu_title }}</span>
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
{% endfor %}
|