diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts
index dcd7970..a38af72 100644
--- a/src/pages/rss.xml.ts
+++ b/src/pages/rss.xml.ts
@@ -61,7 +61,6 @@ export async function GET(context: any) {
title: post.data.title,
pubDate: post.data.date,
description: post.data.description,
- author: post.data.author,
link: `/blog/${post.slug}/`,
content: sanitizeHtml(html.toString(), {
allowedTags: sanitizeHtml.defaults.allowedTags.concat(["img"]),
@@ -103,7 +102,6 @@ export async function GET(context: any) {
title: project.data.title,
pubDate: project.data.date,
description: project.data.description,
- author: project.data.author,
link: `/portfolio/${project.slug}/`,
content: sanitizeHtml(html.toString(), {
allowedTags: sanitizeHtml.defaults.allowedTags.concat(["img"]),
@@ -112,13 +110,19 @@ export async function GET(context: any) {
}
return rss({
+ xmlns: { atom: "http://www.w3.org/2005/Atom" },
title: "juancmandev",
description: "Welcome to my domain, stranger.",
- customData: `en-us
- https://juancman.dev/logo.png
- juancmandev
- `,
site: context.site,
+ customData: [
+ "en-us",
+ `
+ https://www.juancman.dev/logo.png
+ juancmandev
+ https://www.juancman.dev
+ `,
+ ``,
+ ].join(""),
items,
trailingSlash: false,
});