Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ All changes included in 1.9:
- ([#13547](https://github.com/quarto-dev/quarto-cli/issues/13547))`cookie-content: { type: express }` is now the default. Previously it was `type: implied`. It now means this will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn't agree).
- ([#13570](https://github.com/quarto-dev/quarto-cli/pull/13570)): Replace Twitter with Bluesky in default blog template and documentation examples. New blog projects now include Bluesky social links instead of Twitter.
- ([#13716](https://github.com/quarto-dev/quarto-cli/issues/13716)): Fix draft pages showing blank during preview when pre-render scripts are configured.
- ([#13847](https://github.com/quarto-dev/quarto-cli/pull/13847)): Open graph title with markdown is now processed correctly. (author: @mcanouil)

### `book`

Expand Down
2 changes: 1 addition & 1 deletion src/project/types/website/website-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ function metaMarkdownPipeline(format: Format, extras: FormatExtras) {
if (renderedEl) {
// Update the document title
const el = doc.querySelector(
`meta[name="og:site_name"]`,
`meta[property="og:site_name"]`,
);
if (el) {
el.setAttribute("content", renderedEl.innerText);
Expand Down
17 changes: 17 additions & 0 deletions tests/docs/smoke-all/2026/01/06/13847/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
project:
type: website

website:
title: "Quarto CLI {{< var version >}}"
open-graph: true
navbar:
left:
- href: index.qmd
text: Home
right:
- icon: github
href: https://github.com/

format:
html:
theme: cosmo
1 change: 1 addition & 0 deletions tests/docs/smoke-all/2026/01/06/13847/_variables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version: 1.0.0
11 changes: 11 additions & 0 deletions tests/docs/smoke-all/2026/01/06/13847/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "PR 13847: open graph metadata"
_quarto:
render-project: true
tests:
html:
ensureFileRegexMatches:
-
- '\<meta property="og:site_name" content="PR 13847: open graph metadata – Quarto CLI 1.0.0"\>'
- []
---
Loading