{% for link in include.links %} {% assign _href = link.href %} {% assign _current = false %} {% if link.href == page.url or link.href == page.permalink %} {% assign _current = true %} {% endif %}
  • {{ link.text }} {% if _current and page.subnav %}
      {% for link in page.subnav %}
    • {{ link.text }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}

    Edit this page