{% load i18n %}
<a class="village-link{% if self.is_external %} village-icon-external-link-line village-link--icon-right{% endif %}{% if self.extra_classes %} {{ self.extra_classes }}{% endif %}"
   href="{{ self.url }}"
   {% if self.is_external %}target="_blank" rel="noopener noreferrer"{% endif %}>
  {{ self.label }}
  {% if self.is_external %}
    <span class="village-sr-only">{% translate "Opens a new window" %}</span>
  {% endif %}
</a>
