1f3af8f7f5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
386 B
TypeScript
13 lines
386 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { projects, site } from "@/content/site";
|
|
|
|
export const dynamic = "force-static";
|
|
|
|
export default function sitemap(): MetadataRoute.Sitemap {
|
|
return [
|
|
{ url: `${site.url}/`, priority: 1 },
|
|
{ url: `${site.url}/work/`, priority: 0.8 },
|
|
...projects.map((p) => ({ url: `${site.url}/work/${p.slug}/`, priority: 0.6 })),
|
|
];
|
|
}
|