Openstatus www.openstatus.dev

fix: feed rss changelog link (#1602)

* fix: changelog rss link

* chore: add image to rss feed

authored by

Maximilian Kaske and committed by
GitHub
6262561d d3970ee7

+4 -2
+1
apps/web/src/app/(landing)/blog/feed.xml/route.ts
··· 46 46 link: author.url, 47 47 }, 48 48 ], 49 + image: post.metadata.image, 49 50 date: post.metadata.publishedAt, 50 51 }); 51 52 });
+3 -2
apps/web/src/app/(landing)/changelog/feed.xml/route.ts
··· 34 34 .map((post) => { 35 35 const author = getAuthor(post.metadata.author); 36 36 return feed.addItem({ 37 - id: `https://www.openstatus.dev/blog/${post.slug}`, 37 + id: `https://www.openstatus.dev/changelog/${post.slug}`, 38 38 title: post.metadata.title, 39 39 description: post.metadata.description, 40 - link: `https://www.openstatus.dev/blog/${post.slug}`, 40 + link: `https://www.openstatus.dev/changelog/${post.slug}`, 41 41 author: [ 42 42 typeof author === "string" 43 43 ? { name: author } ··· 46 46 link: author.url, 47 47 }, 48 48 ], 49 + image: post.metadata.image, 49 50 date: post.metadata.publishedAt, 50 51 }); 51 52 });