게시물 목록 카드 썸네일 생성 추가
This commit is contained in:
@@ -10,6 +10,7 @@ const postCards = computed(() => posts.value.map((post) => ({
|
||||
appendEllipsis: false
|
||||
}),
|
||||
featuredImage: post.featuredImage,
|
||||
featuredImageThumbnail: post.featuredImageThumbnail || '',
|
||||
tag: post.tags?.[0] ? String(post.tags[0]).toUpperCase() : '',
|
||||
publishedAt: formatPostDate(post.publishedAt),
|
||||
to: `/post/${post.slug}`
|
||||
|
||||
Reference in New Issue
Block a user