shivam + claude changes
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 28s

This commit is contained in:
Shivam Patel
2026-02-08 23:18:21 -05:00
parent 3174638dd3
commit c0ffc01b88
26 changed files with 342 additions and 86 deletions

18
app/sitemap.ts Normal file
View File

@@ -0,0 +1,18 @@
import type { MetadataRoute } from 'next';
import { getAllPosts } from '@/lib/mdx';
export default function sitemap(): MetadataRoute.Sitemap {
const posts = getAllPosts();
const blogEntries: MetadataRoute.Sitemap = posts.map((post) => ({
url: `https://akkolli.net/blog/${post.slug}`,
lastModified: new Date(post.date),
}));
return [
{ url: 'https://akkolli.net', lastModified: new Date() },
{ url: 'https://akkolli.net/blog', lastModified: new Date() },
{ url: 'https://akkolli.net/resume', lastModified: new Date() },
...blogEntries,
];
}