diff --git a/components/post-list-item.tsx b/components/post-list-item.tsx index 8a6c647..0ef5a76 100644 --- a/components/post-list-item.tsx +++ b/components/post-list-item.tsx @@ -12,6 +12,9 @@ export function PostListItem({ post }: Props) { ? post.feature_image.replace('../assets', '/assets') : undefined; + const excerpt = + post.description || post.custom_excerpt || post.body?.raw?.slice(0, 120); + return (
- {post.description} + {excerpt}
)}