diff --git a/src/routes/feed/+layout.server.ts b/src/routes/feed/+layout.server.ts new file mode 100644 index 0000000..f45203f --- /dev/null +++ b/src/routes/feed/+layout.server.ts @@ -0,0 +1,6 @@ +import { redirect } from '@sveltejs/kit' +import type { LayoutServerLoad } from './$types' + +export const load: LayoutServerLoad = () => { + throw redirect(301, '/blog/atom.xml') +}