Closed arichtman closed 3 months ago
Adding OpenGraph tags to header and as optional config
Links to pages show a more customized and richer preview card.
I think it's just some short code in the header to interpolate the configuration items.
Specification: https://ogp.me/
Here's some themes that do it: https://www.google.com/search?client=firefox-b-d&q=site%3Agetzola.org+opengraph
Here's a comment saying it belongs in the theme: https://zola.discourse.group/t/idea-better-page-metadata-for-published-pages/111/2
(I wouldn't have minded if it was supported better in core Zola tbh)
I can take a crack at it - mostly checking if there's any interest.
Sample
Hi!
The header template includes a bunch of og tags (search for og:).
og:
What tags are you missing?
Oh whoops! I'm blind. Sorry and thanks for your time!
No worries! Appreciate the intent~
Added a mention of the feature on the README :)
Feature Request
Summary
Adding OpenGraph tags to header and as optional config
Motivation
Links to pages show a more customized and richer preview card.
Detailed Description
I think it's just some short code in the header to interpolate the configuration items.
Additional Context
Specification: https://ogp.me/
Here's some themes that do it: https://www.google.com/search?client=firefox-b-d&q=site%3Agetzola.org+opengraph
Here's a comment saying it belongs in the theme: https://zola.discourse.group/t/idea-better-page-metadata-for-published-pages/111/2
(I wouldn't have minded if it was supported better in core Zola tbh)
I can take a crack at it - mostly checking if there's any interest.
Sample