Skip to content

Commit d79af14

Browse files
committed
Use absolute url for images in footer
1 parent 3ad85ca commit d79af14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/components/styles/footer.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
<ul class="clean-list" role="list">
4848
<li>
4949
<a class="with-icon--larger" href="https://w3c.social/@w3c" hreflang="en">
50-
<img class="icon icon--larger" src="{{ asset('svg/mastodon.svg', 'website-2021') }}" width="20" height="20" alt aria-hidden="true" loading="lazy"/>
50+
<img class="icon icon--larger" src="{{ absolute_url(asset('svg/mastodon.svg', 'website-2021')) }}" width="20" height="20" alt aria-hidden="true" loading="lazy"/>
5151
<span class="visuallyhidden">{{ 'footer.links.mastodon'|trans({}, 'w3c_website_templates_bundle')|raw }}</span>
5252
</a>
5353
</li>
5454
<li>
5555
<a class="with-icon--larger" href="https://github.com/w3c/" hreflang="en">
56-
<img class="icon icon--larger" src="{{ asset('svg/github.svg', 'website-2021') }}" width="20" height="20" alt aria-hidden="true" loading="lazy"/>
56+
<img class="icon icon--larger" src="{{ absolute_url(asset('svg/github.svg', 'website-2021')) }}" width="20" height="20" alt aria-hidden="true" loading="lazy"/>
5757
<span class="visuallyhidden">{{ 'footer.links.github'|trans({}, 'w3c_website_templates_bundle')|raw }}</span>
5858
</a>
5959
</li>

0 commit comments

Comments
 (0)