My approach to sitemaps in SvelteKit

How I programmatically generate sitemaps in SvelteKit using a server endpoint.