diff --git a/public/rss-style.xsl b/public/rss-style.xsl
new file mode 100644
index 0000000..0b76021
--- /dev/null
+++ b/public/rss-style.xsl
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts
index cf4a8fb..933d206 100644
--- a/src/pages/rss.xml.ts
+++ b/src/pages/rss.xml.ts
@@ -27,14 +27,17 @@ export async function GET(context: Context) {
);
return rss({
- title: SITE.TITLE,
+ title: `${SITE.TITLE} - ${SITE.AUTHOR}`,
description: SITE.DESCRIPTION,
site: context.site,
+ stylesheet: "/rss-style.xsl",
items: items.map(({ item, pre }) => ({
title: item.data.title,
description: item.data.summary,
+ author: SITE.AUTHOR,
pubDate: item.data.date,
- link: `/${pre}/${item.id}/`,
+ link: `/${item.collection}/${item.id}/`,
+ customData: `${item.collection}`,
})),
});
}