trivial: add a <span> to menu items

This commit is contained in:
Frédéric Péters 2016-04-04 10:19:59 +02:00
parent 827cd70576
commit 8917bdc597
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% spaceless %}
{% for menuitem in menuitems %}
<li class="menu-{{ menuitem.page.slug }} {% if menuitem.selected %}selected{% endif %}"><a
href="{% page_absolute_url menuitem.page %}">{{ menuitem.page.title }}</a>
href="{% page_absolute_url menuitem.page %}"><span>{{ menuitem.page.title }}</span></a>
{% if depth > 1 %}
{% show_menu current_page=menuitem.page level=-1 depth=depth reduce_depth=True %}
{% endif %}