Skip to content

Commit e99ac3a

Browse files
committed
seo: add locale to sitemap
1 parent 1cb223e commit e99ac3a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

astro.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,14 @@ export default defineConfig({
2424
},
2525
}),
2626
mdx(),
27-
sitemap(),
27+
sitemap({
28+
i18n: {
29+
defaultLocale: "ja",
30+
locales: {
31+
ja: "ja-JP",
32+
},
33+
},
34+
}),
2835
],
2936

3037
prefetch: {

0 commit comments

Comments
 (0)