공개 상세 경로와 새 글 에디터 보정
This commit is contained in:
@@ -31,7 +31,7 @@ const mapPostCard = (post) => ({
|
||||
excerpt: post.excerpt,
|
||||
tag: post.tags?.[0]?.toUpperCase() || 'POST',
|
||||
publishedAt: formatPostDate(post.publishedAt),
|
||||
to: `/posts/${post.slug}`
|
||||
to: `/post/${post.slug}`
|
||||
})
|
||||
|
||||
const postCards = computed(() => posts.value.map(mapPostCard))
|
||||
|
||||
Reference in New Issue
Block a user