This commit is contained in:
nelle 2023-10-29 22:02:19 -06:00
parent 20c1114a69
commit 6f1a3dbaa5
2 changed files with 13 additions and 1 deletions

View file

@ -2,5 +2,6 @@ import { defineConfig } from 'astro/config';
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
server: { port: 8001 } server: { port: 8001 },
site: "https://limepot.xyz"
}); });

11
src/pages/rss.xml.js Normal file
View file

@ -0,0 +1,11 @@
import rss, { pagesGlobToRssItems } from '@astrojs/rss';
export async function GET(context) {
return rss({
title: 'LimePot - Blog',
description: 'Tis a blog maybe or something IG',
site: context.site,
items: await pagesGlobToRssItems(import.meta.glob('./**/*.md')),
customData: `<language>en-us</language>`,
});
}