Add an info about dropdown content to be able to find it back easily
This commit is contained in:
parent
f6c3a89c2c
commit
0a06c9c585
|
@ -4,6 +4,7 @@
|
|||
{% set current_page = (p.active or p.activeChild) ? 'active' : '' %}
|
||||
<li class="dropdown {{ current_page }}">
|
||||
<a href="{{ p.url }}">{{ p.menu }}</a>
|
||||
{# The following if section is to get a dropdown menu based on content #}
|
||||
{% if p.children.count > 0 %}
|
||||
<ul class="dropdown-content">
|
||||
{{ _self.loop(p) }}
|
||||
|
|
Loading…
Reference in New Issue