diff --git a/src/runtime/sitemap/urlset/i18n.ts b/src/runtime/sitemap/urlset/i18n.ts index 841204a7..d0f5fba2 100644 --- a/src/runtime/sitemap/urlset/i18n.ts +++ b/src/runtime/sitemap/urlset/i18n.ts @@ -57,8 +57,7 @@ export function normaliseI18nSources(sources: SitemapSourceResolved[], { autoI18 }) .flat() .filter(Boolean) as AlternativeEntry[] - // default and original locale are 2 - if (alternatives.length > 2) + if (alternatives.length) url.alternatives = alternatives } return {