Do not show hero modules in dropdown menu

master
Nikola Forró 7 years ago
parent b12704f878
commit 0fca486a70

@ -19,7 +19,7 @@
{{ p.menu }}
</a>
<ul class="navigation">
{% for m in modules %}
{% for m in modules if m.template != 'modular/hero' %}
{% set current_module = (m.active or m.activeChild) ? 'active' : '' %}
<li>
<a href="{{ p.url }}#{{ _self.pageLinkName(m.menu) }}" class="{{ current_module }}">

Loading…
Cancel
Save