From 26c46e43daf069ad9a90c56f3162bbaaf7040089 Mon Sep 17 00:00:00 2001
From: Jannes Luecht <jannes.luecht@droniq.de>
Date: Thu, 5 Dec 2024 14:44:34 +0100
Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20Nuke=20RSS=20capacites?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/pages/rss.xml.js | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js
index 9ff9801..128f83d 100644
--- a/src/pages/rss.xml.js
+++ b/src/pages/rss.xml.js
@@ -1,16 +1,16 @@
-import rss from '@astrojs/rss';
-import { getCollection } from 'astro:content';
-import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
+// import rss from '@astrojs/rss';
+// import { getCollection } from 'astro:content';
+// import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
 
-export async function GET(context) {
-	const posts = await getCollection('blog');
-	return rss({
-		title: SITE_TITLE,
-		description: SITE_DESCRIPTION,
-		site: context.site,
-		items: posts.map((post) => ({
-			...post.data,
-			link: `/blog/${post.slug}/`,
-		})),
-	});
-}
+// export async function GET(context) {
+// 	const posts = await getCollection('blog');
+// 	return rss({
+// 		title: SITE_TITLE,
+// 		description: SITE_DESCRIPTION,
+// 		site: context.site,
+// 		items: posts.map((post) => ({
+// 			...post.data,
+// 			link: `/blog/${post.slug}/`,
+// 		})),
+// 	});
+// }
-- 
GitLab