Make language link pass through URL filter to apply pathPrefix.
All checks were successful
Build Eleventy Forgero / build (24.x) (push) Successful in 36s

This commit is contained in:
天クマ 2026-05-15 11:01:52 -03:00
commit e25855b121

View file

@ -14,7 +14,7 @@ title: Adrian Victor:Blog
{{ i18n[langKey].availableInOtherLanguages }}: {{ i18n[langKey].availableInOtherLanguages }}:
{% for alt in altLanguages %} {% for alt in altLanguages %}
<li class="inlineList"> <li class="inlineList">
<a href="{{ alt.url }}" hreflang="{{ alt.lang }}"> <a href="{{ alt.url | url }}" hreflang="{{ alt.lang }}">
{{ i18n[alt.lang].language }} {{ i18n[alt.lang].language }}
</a> </a>
</li> </li>