Replace post.slug to post.permalink

This commit is contained in:
prototypa
2023-01-24 00:33:25 -05:00
parent 47948c3da3
commit c9c555e0ef

View File

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