Bootstrap Drop Down

Hi,

I am having trouble with getting Grav’s menu system to work with Bootstrap’s Nav Dropdown.

Any suggestions?

Thanks in advanced

Thanks to the power of the Internet, I’ve manged to find a solution.
For those that need it in the future, add the following between your unordered list tags.
__
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? ‘active’ : ‘’ %}
{% if page.children.visible.count > 0 %}


  • {{ page.menu }}

      {% set current_parent = page.active ? ‘active’ : ‘’ %}
    • {{ page.menu }}


    • {% for child in page.children.visible %}
      {% set current_child = (child.active or child.activeChil d) ? ‘active’ : ‘’ %}
    • {{ child.menu }}

    • {% endfor %}


  • {% else %}
  • {{ page.menu }}

  • {% endif %}
    {% endfor %}
    __

    I think the Bootstrap plugin already has support for enabling dropdowns. It should be a theme configuration setting.