diff --git a/app/posts/[slug]/page.tsx b/app/posts/[slug]/page.tsx index 0b9611b..14d2a8d 100644 --- a/app/posts/[slug]/page.tsx +++ b/app/posts/[slug]/page.tsx @@ -98,6 +98,17 @@ export default async function Post({ params }: { params: Promise<{ slug: string {meta.readingTimeText}
{meta.description}
+ {process.env.NODE_ENV === 'development' && ( + + Description has {meta.description.length} characters, which is{' '} + {meta.description.length < 120 + ? 'too short' + : meta.description.length > 160 + ? 'too long' + : 'just right'}{' '} + for SEO. + + )} {meta.coverImage &&