Skip to content

Commit

Permalink
Ensure all style paths use canonical URL. Fixes #310
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Aug 23, 2024
1 parent b6ae3c3 commit 1a0658c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{% endblock %}

{% block head %}
<link rel="stylesheet" href="/assets/govuk.css">
<link rel="stylesheet" href="{{ "/assets/govuk.css" | canonicalUrl }}">
{% for stylesheet in options.stylesheets %}
<link rel="stylesheet" href="{{ stylesheet | canonicalUrl }}">
{% endfor %}
Expand Down

0 comments on commit 1a0658c

Please sign in to comment.