{% 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 %}
{% endif %}
{% endfor %}
Edit this page