글쓰기 입력과 썸네일 표시 보정
This commit is contained in:
@@ -29,6 +29,7 @@ const formatPostDate = (value) => {
|
||||
const mapPostCard = (post) => ({
|
||||
title: post.title,
|
||||
excerpt: post.excerpt,
|
||||
featuredImage: post.featuredImage,
|
||||
tag: post.tags?.[0]?.toUpperCase() || 'POST',
|
||||
publishedAt: formatPostDate(post.publishedAt),
|
||||
to: `/post/${post.slug}`
|
||||
|
||||
Reference in New Issue
Block a user