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

OpenGraph tags? #353

Closed
arichtman opened this issue Jul 4, 2024 · 4 comments
Closed

OpenGraph tags? #353

arichtman opened this issue Jul 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@arichtman
Copy link
Contributor

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

image

@arichtman arichtman added the enhancement New feature or request label Jul 4, 2024
@welpo
Copy link
Owner

welpo commented Jul 4, 2024

Hi!

The header template includes a bunch of og tags (search for og:).

What tags are you missing?

@arichtman
Copy link
Contributor Author

Oh whoops! I'm blind. Sorry and thanks for your time!

@welpo
Copy link
Owner

welpo commented Jul 4, 2024

No worries! Appreciate the intent~

@welpo
Copy link
Owner

welpo commented Jul 4, 2024

Added a mention of the feature on the README :)

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

No branches or pull requests

2 participants