Navigation

Most of this is just abbreviated content from the website navigation portion of the Quarto site.

Top navigation

Adapt the following to your _quarto.yml to add top navigation to your website. You can any supported file format as a page, including qmd and ipynb.

_quarto.yml
---
website:
  navbar:
    background: primary
    search: true
    left:
      - text: "Home"
        file: index.qmd
      - talks.ipynb
      - about.qmd 
---

More top navigation details on the Quarto site.

Left-side navigation

Adapt the following to your _quarto.yml to add navigation to the left-hand side of your website. You can any supported file format as a page, including qmd and ipynb.

_quarto.yml
---
website:
  sidebar:
    style: "docked"
    search: true
    contents:
      - section: "Basics"
        contents:
          - index.qmd
          - basics-knitr.qmd
          - basics-jupyter.qmd
      - section: "Layout"
        contents:
          - layout.qmd
          - layout-knitr.qmd
          - layout-jupyter.qmd
---

More top navigation details on the Quarto site.

Table of contents

Add the following to the YAML block at the top of your Quarto Markdown or Jupyter notebook file.

---
format:
  html:
    toc: true
---

More table of contents details on the Quarto site.