feat: add article categories to RSS
Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
This commit is contained in:
parent
af92c1f19a
commit
95bea24ec1
|
@ -56,6 +56,9 @@ export default async function generateRssFeed() {
|
||||||
description: richTextAsPlainText(
|
description: richTextAsPlainText(
|
||||||
blogPost.properties.Description.rich_text,
|
blogPost.properties.Description.rich_text,
|
||||||
),
|
),
|
||||||
|
category: blogPost.properties.Topics.multi_select.map(({ name }) => ({
|
||||||
|
name,
|
||||||
|
})),
|
||||||
contributor: [author],
|
contributor: [author],
|
||||||
content: html,
|
content: html,
|
||||||
date: new Date(
|
date: new Date(
|
||||||
|
|
Loading…
Reference in a new issue