feat: initial commit
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
Rudra Saraswat 2025-05-30 00:12:32 +01:00
commit 16dba10451
20 changed files with 3924 additions and 0 deletions

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: '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>`,
});
}