File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,35 @@ export default function sitemap(): MetadataRoute.Sitemap {
66 {
77 url : BASE_URL ,
88 lastModified : new Date ( ) ,
9+ alternates : {
10+ languages : {
11+ en : `${ BASE_URL } /` ,
12+ ja : `${ BASE_URL } /ja/` ,
13+ "x-default" : `${ BASE_URL } /` ,
14+ } ,
15+ } ,
916 } ,
1017 {
1118 url : `${ BASE_URL } /introduction` ,
1219 lastModified : new Date ( ) ,
20+ alternates : {
21+ languages : {
22+ en : `${ BASE_URL } /introduction` ,
23+ ja : `${ BASE_URL } /ja/introduction` ,
24+ "x-default" : `${ BASE_URL } /introduction` ,
25+ } ,
26+ } ,
1327 } ,
1428 {
1529 url : `${ BASE_URL } /libraries` ,
1630 lastModified : new Date ( ) ,
31+ alternates : {
32+ languages : {
33+ en : `${ BASE_URL } /libraries` ,
34+ ja : `${ BASE_URL } /ja/libraries` ,
35+ "x-default" : `${ BASE_URL } /libraries` ,
36+ } ,
37+ } ,
1738 } ,
1839 ] ;
1940}
You can’t perform that action at this time.
0 commit comments