Skip to content

breadcrumbs only appear if title set in topmatter #10567

@machow

Description

@machow

Bug description

The docs on breadcrumbs mention they will be displayed by default. It appears that when title: is not set in the top-matter, then they are not displayed.

Note that in this issue I'll refer to three possible meanings of title:

  1. _quarto.yml sidebar text: title
  2. qmd topmatter title
  3. qmd header title

Currently, quarto requires (2) to be set. When this happens, (1) gets shown if set. Otherwise, (2) gets shown.

Steps to reproduce

_quarto.qmd

project:
  type: website

website:
  sidebar:
    - contents:
      - section: "Tutorials"
        contents:
          - text: Tutorial sidebar title
            href: tutorials.qmd

tutorial.qmd

---
# uncomment below to see breadcrumbs say "Tutorial sidebar title"
# title: Tutorial topmatter title
---

# Tutorial qmd first header

abc

Expected behavior

breacrumb for tutorial page should say "Tutorial sidebar title".

Actual behavior

No breadcrumb shown

Your environment

mac osx

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.9.5
      Path: /Users/machow/.pyenv/versions/3.9.5/bin/python3
      Jupyter: 5.3.1
      Kernels: <removed>

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

[✓] Checking R installation...........OK
      Version: 4.1.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library
      knitr: 1.39
      rmarkdown: 2.14

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

Metadata

Metadata

Assignees

Labels

booksbugSomething isn't workinghtmlIssues with HTML and related web technology (html/css/scss/js)websitesIssues creating websites

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions