{% for item in site.data.navigation %}
  • {{ item.link_text }}
    {%- if item.image -%}
    {{ item.image.alt }}
    {% endif %}
    {%- if item.link_href -%} {% assign site_name_lowercase = site.site_name | downcase | replace: ' ', '-' | replace: '&', 'and' %} {{ item.link_text }} {%- endif -%} {% assign alphabetical_links = item.dropdown | sort: "text" %} {% for link in alphabetical_links %} {% if item.link_href contains site_name_lowercase %} {{ link.text }} {%- else -%} {{ link.text }} {%- endif -%} {%- endfor -%}
  • {% endfor %}