{% import 'macros/links.html' as links %}
{% call links.link(coop_url('/auth/newsletters/'), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
  newsletters
{% endcall %}
{% for link in account_nav_links %}
  {% if link.external %}
    <div class="relative nav-group">
      <a href="{{ link.href_fn() }}" class="{{styles.nav_button}}" data-hx-disable>
        {{ link.label }}
      </a>
    </div>
  {% else %}
    {% call links.link(link.href_fn(), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
      {{ link.label }}
    {% endcall %}
  {% endif %}
{% endfor %}
