Skip to content

Add missing Open Graph tags#14305

Open
datawookie wants to merge 3 commits intoquarto-dev:mainfrom
datawookie:open-graph-tags
Open

Add missing Open Graph tags#14305
datawookie wants to merge 3 commits intoquarto-dev:mainfrom
datawookie:open-graph-tags

Conversation

@datawookie
Copy link
Copy Markdown

@datawookie datawookie commented Apr 3, 2026

Description

At present Quarto inserts a number of Open Graph tags into blog posts.

There are, however, a couple of important tags missing:

  • og:type and
  • og:url.

I have implemented the changes required to insert those tags and also provided suitable tests. Very happy to revise as required. Thank you for your consideration.

Closes #14306.

Checklist

I have (if applicable):

  • filed a contributor agreement.
  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes and
  • added new tests.

@datawookie datawookie changed the title Open graph tags Add missing Open Graph tags Apr 3, 2026
@datawookie datawookie mentioned this pull request Apr 3, 2026
3 tasks
@mcanouil
Copy link
Copy Markdown
Collaborator

mcanouil commented Apr 3, 2026

It's lacking the schema as open graph is an object so user should be able to set any of the metadata manually.
(https://quarto.org/docs/websites/website-tools.html#open-graph)

A companion documentation PR will be needed if approved by the team

@datawookie
Copy link
Copy Markdown
Author

datawookie commented Apr 3, 2026

Hi @mcanouil, thanks for the suggestion. You are right: these should be configurable on a per-page basis. I have made the necessary changes. Best regards, Andrew.

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

Successfully merging this pull request may close these issues.

Missing Open Graph tags

2 participants