Источник шаблона: website/elements/ul-leftmenu.html

<ul id="leftMenu"> {% for menuitem in website_mainmenu %} {% if request.path == menuitem.get_url %} <li class="active"> <span class="tb"><span class="tx">{{ menuitem.title }}</span></span> </li> {% else %} <li> <a href="{{ menuitem.get_url }}" class="menuLink"> <span class="tb"><span class="tx">{{ menuitem.title }}</span></span> </a> </li> {% endif %} {% endfor %} </ul>