Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions tests/docs/smoke-all/2026/01/06/13847/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.quarto/
**/*.quarto_ipynb
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
13 changes: 13 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,13 @@
---
title: "PR 13847: open graph metadata"
_quarto:
render-project: true
tests:
html:
ensureHtmlElements:
-
- 'meta[property="og:site_name"][content*="Quarto CLI 1.0.0"]'
- []
---

This test check that the website title is correctly resolved when used in open graph site name, including when using a shortcode.
Loading