idk
This commit is contained in:
parent
20c1114a69
commit
6f1a3dbaa5
2 changed files with 13 additions and 1 deletions
|
@ -2,5 +2,6 @@ import { defineConfig } from 'astro/config';
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
server: { port: 8001 }
|
||||
server: { port: 8001 },
|
||||
site: "https://limepot.xyz"
|
||||
});
|
||||
|
|
11
src/pages/rss.xml.js
Normal file
11
src/pages/rss.xml.js
Normal 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>`,
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue