gethugothemes / bigspring-light-hugo

Bigspring is a Hugo startup theme. It has a clean, minimal, fresh UI.
https://gethugothemes.com/products/bigspring/?utm_source=bigspring_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
204 stars 305 forks source link

Usage of hugo twitter_cards.html template overrides Twitter Card meta data in head.html #51

Closed christxph closed 3 years ago

christxph commented 3 years ago

In head.html the twitter:something meta data is defined but afterwards the Hugo twitter_cards.html template is imported, which overrides whatever was set above. This can be seen in the output html, where there are multiple occurrences of e.g. the twitter:title or twitter:image tags.

Workaround: Remove L59 in head.html

https://github.com/themefisher/bigspring-light/blob/20e45e2abbeede15e9f8eb819be5373004e17d0a/layouts/partials/head.html#L59

somratpro commented 3 years ago

Hello @christxph

Thanks for your concern, this issue has been fixed. Thanks for staying with us.