Skip to content

Commit bfbdf56

Browse files
committed
feat: update sitemap
1 parent e699833 commit bfbdf56

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

apps/docs/src/app/sitemap.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
)),

0 commit comments

Comments
 (0)