first commit
This commit is contained in:
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: 'Web Development and Technology Blog | Fernando López | EFEELE',
|
||||
description: 'Welcome to my blog, where I share my passion for frontend development, web design, and the latest technology trends.',
|
||||
site: context.site,
|
||||
items: await pagesGlobToRssItems(import.meta.glob('./**/*.md')),
|
||||
customData: `<language>es</language>`,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user