diff --git a/src/pages/feed.xml.js b/src/pages/feed.xml.js index 2114b6a..259b485 100644 --- a/src/pages/feed.xml.js +++ b/src/pages/feed.xml.js @@ -20,7 +20,10 @@ export async function GET(context) { title: item.data.title, pubDate: item.data.date, description: item.data.description, - itemLink: item.data.link, + author: 'hello@filipesm.eu', + categories: item.id.startsWith('en') + ? ['library', 'English'] + : ['biblioteca', 'português'], })) .concat( blogPosts.map((post) => ({ @@ -30,6 +33,10 @@ export async function GET(context) { link: `${post.id.startsWith('en/') ? '/blog' : '/blogue'}/${ post.slug }`, + author: 'hello@filipesm.eu', + categories: post.id.startsWith('en') + ? ['blog', 'English'] + : ['blogue', 'português'], })), ), });