fix(blog): adjust meta description cutting

This commit is contained in:
Jewgeni Lewash 2024-03-08 08:30:03 +01:00
parent 9100c62fab
commit e963a3f670

View File

@ -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;
---
<BaseLayout title={title} description={descriptionMeta}>