Skip to content

Commit

Permalink
feat(rss): add thumbnail image to returned xml feed content
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Nov 2, 2023
1 parent 2f5b207 commit 56005e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/blog/feed/generate-feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function generateFeed() {
title: post.title,
id: post.id,
description: post.description,
content: markdownToHtml(post.body.raw),
content: markdownToHtml(`![](${link}/thumbnail) ${post.body.raw}`),
author: [{ name, email, link: authorLink }],
date: new Date(post.date),
category: post.tags.split(',').map(tag => ({ name: tag.trim() })),
Expand Down

0 comments on commit 56005e6

Please sign in to comment.