Skip to content

Commit

Permalink
Change 'also known as' to' includes' on the sitemap for aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlotteDowns authored Jan 30, 2024
2 parents e32a34a + 122b456 commit 8de7b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/layouts/layout-sitemap.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li class="govuk-!-margin-bottom-2">
<a class="govuk-link" href="/{{ subitem.url }}/">{{ subitem.label }}</a>
{% if subitem.aliases %}
&mdash; also known as {% for alias in subitem.aliases %}{{ ", " if not (loop.first or loop.last) }}{{ " or " if loop.last and loop.length > 1 }}{{ alias | lower }}{% endfor %}
&mdash; includes {% for alias in subitem.aliases %}{{ ", " if not (loop.first or loop.last) }}{{ " or " if loop.last and loop.length > 1 }}{{ alias | lower }}{% endfor %}
{% endif %}
</li>
{% endfor %}
Expand Down

0 comments on commit 8de7b2c

Please sign in to comment.