Add an info about dropdown content to be able to find it back easily

This commit is contained in:
meaz 2022-03-18 21:56:12 +01:00
parent f6c3a89c2c
commit 0a06c9c585
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 1 additions and 0 deletions

View File

@ -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) }}