remove dropdown menu from services tab #54

Closed
meaz wants to merge 2 commits from services_dropdown into master
1 changed files with 3 additions and 0 deletions

View File

@ -4,11 +4,14 @@
{% set current_page = (p.active or p.activeChild) ? 'active' : '' %} {% set current_page = (p.active or p.activeChild) ? 'active' : '' %}
<li class="dropdown {{ current_page }}"> <li class="dropdown {{ current_page }}">
<a href="{{ p.url }}">{{ p.menu }}</a> <a href="{{ p.url }}">{{ p.menu }}</a>
{# The following lines are commented out, but can served
to get a dropdown menu based on content
{% if p.children.count > 0 %} {% if p.children.count > 0 %}
<ul class="dropdown-content"> <ul class="dropdown-content">
{{ _self.loop(p) }} {{ _self.loop(p) }}
</ul> </ul>
{% endif %} {% endif %}
#}
</li> </li>
{% endfor %} {% endfor %}
{% endmacro %} {% endmacro %}