Merge pull request #100 from prototypa/astro2

Replace post.slug to post.permalink in RSS
This commit is contained in:
prototypa
2023-01-24 00:34:07 -05:00
committed by GitHub

View File

@ -20,7 +20,7 @@ export const get = async () => {
site: import.meta.env.SITE,
items: posts.map((post) => ({
link: getPermalink(post.slug, 'post'),
link: getPermalink(post.permalink, 'post'),
title: post.title,
description: post.description,
pubDate: post.publishDate,