We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a62bf14 commit 9d7e59eCopy full SHA for 9d7e59e
1 file changed
src/app/sitemap.ts
@@ -6,14 +6,35 @@ export default function sitemap(): MetadataRoute.Sitemap {
6
{
7
url: BASE_URL,
8
lastModified: new Date(),
9
+ alternates: {
10
+ languages: {
11
+ en: `${BASE_URL}/`,
12
+ ja: `${BASE_URL}/ja/`,
13
+ "x-default": `${BASE_URL}/`,
14
+ },
15
16
},
17
18
url: `${BASE_URL}/introduction`,
19
20
21
22
+ en: `${BASE_URL}/introduction`,
23
+ ja: `${BASE_URL}/ja/introduction`,
24
+ "x-default": `${BASE_URL}/introduction`,
25
26
27
28
29
url: `${BASE_URL}/libraries`,
30
31
32
33
+ en: `${BASE_URL}/libraries`,
34
+ ja: `${BASE_URL}/ja/libraries`,
35
+ "x-default": `${BASE_URL}/libraries`,
36
37
38
39
];
40
}
0 commit comments