태그 없는 게시물에서 POST 더미 표시 제거(v1.1.2)

This commit is contained in:
2026-05-14 18:42:01 +09:00
parent 17dcd04339
commit 08f0aa0efa
9 changed files with 52 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ const postCards = computed(() => posts.value.map((post) => ({
title: post.title,
excerpt: post.excerpt,
featuredImage: post.featuredImage,
tag: post.tags?.[0]?.toUpperCase() || 'POST',
tag: post.tags?.[0] ? String(post.tags[0]).toUpperCase() : '',
publishedAt: formatPostDate(post.publishedAt),
to: `/post/${post.slug}`
})))