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

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

{post.title} +

) : ( post.title ) } -

-

{post.excerpt}