Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please extend the max description length #22

Closed
coliff opened this issue Nov 20, 2020 · 3 comments
Closed

Please extend the max description length #22

coliff opened this issue Nov 20, 2020 · 3 comments

Comments

@coliff
Copy link
Contributor

coliff commented Nov 20, 2020

Currently the plugin warns on descriptions being longer than 140 characters, but many SEO guides suggest a description longer than that... for example the popular https://www.opengraph.xyz/ service recommends length between 155-160 characters.

Could you consider extending the max description length before showing an error to 160 characters? Or if not, maybe include option to set the length yourself or turn that warning off.

@estruyf
Copy link
Owner

estruyf commented Nov 20, 2020

Hi @coliff this is actually a great enhancement. I have implemented it with configurable settings: `

frontMatter.taxonomy.seoTitleLength

Specifies the optimal title length for SEO (set to -1 to turn it off). Default value: 60.

{
  "frontMatter.taxonomy.seoTitleLength": 60
}

frontMatter.taxonomy.seoDescriptionLength

Specifies the optimal description length for SEO (set to -1 to turn it off). Default value: 160.

{
  "frontMatter.taxonomy.seoDescriptionLength": 160
}

@estruyf estruyf closed this as completed Nov 20, 2020
@estruyf
Copy link
Owner

estruyf commented Nov 20, 2020

Oh, btw, version 1.8.0 has now been released with this implemented.

@coliff
Copy link
Contributor Author

coliff commented Nov 20, 2020

awesome! thanks for fixing this so quickly. great extension. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants