Open
Description
This is a cool project!
I noticed it needs a sitemap still for SEO. I recently created a package for SvelteKit called Super Sitemap (npm), to make this easy. Give it a look, and if you decide to use it, lmk if you have any questions. :)
Basic example below and advanced example.
// /src/routes/sitemap.xml/+server.ts
import * as sitemap from 'super-sitemap';
import type { RequestHandler } from '@sveltejs/kit';
export const GET: RequestHandler = async () => {
return await sitemap.response({
origin: 'https://example.com'
});
};
Metadata
Metadata
Assignees
Labels
No labels