Make language-switcher use hreflang
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 2m36s

This commit is contained in:
Dominik Milacher 2026-05-23 17:04:05 +02:00
parent 9408abc1be
commit 75df4d7c6f

View File

@ -30,6 +30,7 @@ const classes = useStyling(
to: { path: path(undefined, { locale: candidate.code }).value, query: { freeze: 'true' } }, to: { path: path(undefined, { locale: candidate.code }).value, query: { freeze: 'true' } },
'@click': preferLocale(candidate.code), '@click': preferLocale(candidate.code),
active: false, active: false,
hreflang: candidate.code, // keep for SEO
}" }"
:text="candidate.code.toUpperCase()" :text="candidate.code.toUpperCase()"
v-for="candidate in candidates" v-for="candidate in candidates"