File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,15 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
1111 {
1212 url : url ( '/' ) ,
1313 changeFrequency : 'monthly' ,
14- priority : 1 ,
1514 } ,
1615
1716 {
1817 url : url ( '/blog' ) ,
1918 changeFrequency : 'monthly' ,
20- priority : 0.8 ,
2119 } ,
2220
2321 {
2422 url : url ( '/learn' ) ,
25- changeFrequency : 'monthly' ,
26- priority : 0.8 ,
2723 } ,
2824
2925 ...( await Promise . all (
@@ -41,12 +37,8 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
4137 ]
4238 . flat ( )
4339 . map ( async ( page ) => {
44- const { 'translation-updated-at' : lastModified } = page . data ;
4540 return {
4641 url : url ( page . url ) ,
47- lastModified : lastModified ? new Date ( lastModified ) : undefined ,
48- changeFrequency : 'weekly' ,
49- priority : 0.5 ,
5042 } as MetadataRoute . Sitemap [ number ] ;
5143 } ) ,
5244 ) ) ,
You can’t perform that action at this time.
0 commit comments