From e963a3f670399195bc506c27806de69820a4fab0 Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Fri, 8 Mar 2024 08:30:03 +0100 Subject: [PATCH] fix(blog): adjust meta description cutting --- src/pages/blog/[...slug].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 1134c28..d2bfdf0 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -22,7 +22,7 @@ const components = { table: Table }; const { title, description } = entry.data; const descriptionMeta = - description.length > 160 ? description.substring(0, 150) + '...' : description; + description.length > 158 ? description.substring(0, 155) + '...' : description; ---