Update sitemap with new last modified date and URLs
Updated the last modified timestamp and changed URLs in the sitemap.
This commit is contained in:
1 parent
4aedc4df0d
commit
304be2c2f5
1 file changed
+8
-7
+8
-7
@@ -2,18 +2,14 @@ import { MetadataRoute } from 'next';
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const baseUrl = 'https://crischarles.vercel.app';
|
||||
const lastMod = '2026-06-11T07:44:07+00:00';
|
||||
// Updated to match the latest timestamp from your XML generator
|
||||
const lastMod = '2026-06-15T10:13:28+00:00';
|
||||
|
||||
return [
|
||||
{
|
||||
url: baseUrl,
|
||||
lastModified: lastMod,
|
||||
priority: 1,
|
||||
},
|
||||
{
|
||||
url: `${baseUrl}/blog`,
|
||||
lastModified: lastMod,
|
||||
priority: 0.8,
|
||||
priority: 1.0,
|
||||
},
|
||||
{
|
||||
url: `${baseUrl}/projects`,
|
||||
@@ -25,5 +21,10 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
||||
lastModified: lastMod,
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: `${baseUrl}/blog`,
|
||||
lastModified: lastMod,
|
||||
priority: 0.8,
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user