We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec133a commit bedbc06Copy full SHA for bedbc06
src/components/Seo/Seo.js
@@ -20,7 +20,7 @@ function Seo({ description, lang, meta, title, keywords }) {
20
let titleTemplateValue = null;
21
22
if (defaultTitle) {
23
- if (title.length + defaultTitle.length <= 50) {
+ if (title?.length + defaultTitle?.length <= 50) {
24
titleTemplateValue = `%s | ${defaultTitle}`; // Concatenar si la longitud total es corta
25
} else {
26
titleTemplateValue = `%s`; // Usar solo el título particular
0 commit comments