{% macro service_link(service, endpoint, link_text) %}
  {% if service %}
    <a class="govuk-link" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
  {% else %}
    <b class="govuk-!-font-weight-bold">{{ link_text|capitalize }}</b>
  {% endif %}
{% endmacro %}

{% macro service_link(service, endpoint, link_text) %}
  {% if service %}
    <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
  {% else %}
    <b class="govuk-!-font-weight-bold">{{ link_text|capitalize }}</b>
  {% endif %}
{% endmacro %}

Add Design System class to remove visited state from links
Add Design System class to remove visited state from links

Co-Authored-By: Tom Byers <7482bbf8d4e940be977b7af03b66c14a1abbb62b@gmail.com>