Fix HTML lang attribute not reflecting site language variants (#4161)

This commit is contained in:
Nolann B.
2026-04-03 17:31:37 +02:00
committed by GitHub
parent 126d4b78b6
commit 7d882cef5f
+1
View File
@@ -355,6 +355,7 @@ export async function fetchSiteContextByIds(
return {
...spaceContext,
locale: siteSpace.space.language ?? spaceContext.locale,
linker: site.urls.published
? linkerForPublishedURL(spaceContext.linker, site.urls.published)
: spaceContext.linker,