Closed h-enk closed 8 months ago
The file https://github.com/gethyas/seo/blob/main/layouts/partials/hugo-seo/private/params/images.html does not follow the same lookup rules as the hugo internal template for twitter cards, which searches for image page resources with feature, cover, or thumbnail in their name when there is not images
array in front matter.
It would be better if this module had a more robust way of searching for images.
It would be ideal if the front matter identifier for twitter card images could simply be configured in settings along with other seo module params.
Fixed w/ new setup: Twitter Cards
Discussed in https://github.com/orgs/gethyas/discussions/423
Fix check: https://github.com/gethyas/seo/blob/main/layouts/partials/hugo-seo/private/params/twitter.html#L5