{% assign subs = include.subs %}

<ul class="dropdown-menu">
{% for sub in subs %}
  {% assign is_active = false %}
  {% assign m_external = '' %}
  {% assign m_is_break = false %}

  {% if sub contains "page_id" %}
    {% assign p = site.pages | where:"page_id",sub.page_id | first %}
    {% assign m_url = p.url %}

    {% if sub contains "title" %}
      {% assign m_title = sub.title %}
    {% else %}
      {% assign m_title = p.title %}
    {% endif %}

    {% if page contains "page_id" and sub.page_id ==