diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/consts.ts | 2 | ||||
| -rw-r--r-- | src/pages/rss.xml.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/consts.ts b/src/consts.ts index 2c0f60e..d5cf8d3 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -2,4 +2,4 @@ // You can import this data from anywhere in your site by using the `import` keyword. export const SITE_TITLE = "pinapelz's blog"; -export const SITE_DESCRIPTION = 'Welcome to Pinapelz\'s Blog!'; +export const SITE_DESCRIPTION = 'A lot of rambling about a bunch of random things, both technical and non-technical.'; diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 9041051..6fed721 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -2,7 +2,7 @@ import rss from '@astrojs/rss'; import { getCollection } from 'astro:content'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; -export async function get(context) { +export async function GET(context) { const posts = await getCollection('blog'); posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDate).getTime()); return rss({ |
