Replace post.slug to post.permalink
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user