Site variables referenced in a page title are not resolved in a page's breadcrumbs

Open
#10,557 4 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Aug 19, 2024.

Assessment

This issue has not been assessed yet.

Description

breadcrumbs bug shortcodes websites
Bug description

I just noticed that when we have a page referencing a site variable, the variable displays correctly in both the sidebar and in the page body itself. However, it doesn't render appropriately when in the page's breadcrumbs. See attached:

2024-08-19_15-27

Steps to reproduce
  1. git clone https://github.com/nickvigilante/title-variable-breadcrumb-issue
  2. quarto preview
Expected behavior

The breadcrumbs should print This should show bar: bar.

Actual behavior

The breadcrumbs say This should show bar: {{< var foo >}}.

Your environment
  • OS: macOS Sonoma 14.6.1
Quarto check output
Quarto 1.5.56
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.56
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.14 (Conda)
      Path: /Users/nickv/miniforge3/bin/python
      Jupyter: 5.7.2
      Kernels: ir, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.4.1
      Path: /opt/homebrew/Cellar/r/4.4.1/lib/R
      LibPaths:
        - /opt/homebrew/lib/R/4.4/site-library
        - /opt/homebrew/Cellar/r/4.4.1/lib/R/library
      knitr: 1.47
      rmarkdown: 2.27

[✓] Checking Knitr engine render......OK
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.