feat: initial commit
This commit is contained in:
commit
16dba10451
20 changed files with 3924 additions and 0 deletions
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: 'ruds | blog',
|
||||
description: 'The incoherent ramblings of an emo madman with a technological inclination.',
|
||||
site: context.site,
|
||||
items: await pagesGlobToRssItems(import.meta.glob('./posts/*.md')),
|
||||
customData: `<language>en-us</language>`,
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue