diff --git a/src/components/blog/GridItem.astro b/src/components/blog/GridItem.astro index cd02fa8140..ef72ec1b55 100644 --- a/src/components/blog/GridItem.astro +++ b/src/components/blog/GridItem.astro @@ -54,18 +54,22 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') : )) } - -

+ { - link ? ( - + !APP_BLOG?.post?.isEnabled ? ( + post.title + ) : ( + +

{post.title} +

) : ( post.title ) } -

-

{post.excerpt}