{% if site.site-map.path %} <!– the path must exist as a thing –>
<a class="page-scroll" href="/{{ site.site-map[include.item].path }}">{{ site.site-map[include.item].title }}</a>
{% elsif site.site-map.menu %}
<a class="page-scroll" href="/pages/{{ include.item }}">{{ site.site-map[include.item].title }}</a>
{% elsif site.site-map.redirect %}
<a target="_blank" href="{{ site.site-map[include.item].redirect }}">{{ site.site-map[include.item].title }}</a>
{% else %}
<a class="page-scroll" href="/sections/{{ include.item }}">{{ site.site-map[include.item].title }}</a>
{% endif %}