Skip to content

Commit

Permalink
fix: rss feed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
burden committed Jul 8, 2024
1 parent e90b4ae commit c1d96cd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugins/generateRss.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,12 @@ const createFeed = async (feed, HOST) => {
feed.addItem({
title: post.data.seoTitle,
id: post.id,
guid: `${HOST}/post/${post.uid}`,
link: `${HOST}/post/${post.uid}`,
description: post.data.seoDescription,
category: post.tags.join(', '),
published: new Date(post.last_publication_date),
image: {
dimensions:
post.data.image.dimensions.width +
'x' +
post.data.image.dimensions.height,
url: post.data.image.url.split('?')[0]
},
date: new Date(post.last_publication_date),
Expand Down

0 comments on commit c1d96cd

Please sign in to comment.