From 6f1f36aaeaef5891569369d32394a062a88b7334 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 22 Jan 2021 12:38:40 +0100 Subject: [PATCH] Add remaining characters to seo description That feature is provided by TYPO3. The feature is triggered by max option. Even if meta description has no official max length, I use 200 to get a feeling for actual length as editor. yoast recommends 120 - 156, see: https://yoast.com/meta-descriptions/ --- Configuration/TCA/Overrides/pages.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index 66fd04d..ee422e4 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -17,6 +17,12 @@ 'eval' => 'date,int', ], ], + 'description' => [ + 'config' => [ + 'max' => 200, + ], + ], ], ]); + })('ds_site', 'pages');