diff --git a/templates/macros/topmenu.html.twig b/templates/macros/topmenu.html.twig index a3aa674..e9930e5 100644 --- a/templates/macros/topmenu.html.twig +++ b/templates/macros/topmenu.html.twig @@ -4,22 +4,10 @@ {% set current_page = (p.active or p.activeChild) ? 'active' : '' %} {% if p.children.visible.count > 0 %}
  • - {% if p.routable == false %} {% if p.header.icon %}{% endif %} - {{ p.menu }} + {{ p.menu }}{% if p.routable == false %} {% endif %} - {% elseif p.routable != false and p.children.count > 0 %} - - {% if p.header.icon %}{% endif %} - {{ p.menu }} - - {% else %} - - {% if p.header.icon %}{% endif %} - {{ p.menu }} - - {% endif %} @@ -28,9 +16,9 @@
  • {% if p.header.icon %}{% endif %} - {{ p.menu }} + {{ p.menu }}
  • {% endif %} {% endfor %} -{% endmacro %} \ No newline at end of file +{% endmacro %}