Skip to content

Commit

Permalink
correct example id
Browse files Browse the repository at this point in the history
(cherry picked from commit dcf6ef2)
  • Loading branch information
cderv committed Jan 14, 2025
1 parent 370bb9a commit ca4d8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/websites/website-navigation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ Here are all of the options available for side navigation:
A single `sidebar` item without an `id` or `title` will result in a global sidebar applied to all pages. A sidebar with an `id` or `title` will only be applied to pages within the contents of the sidebar or pages that specify the sidebar id.

To use a specific sidebar on a page or a group of pages, specify the `sidebar` ID in the front matter of the page or in the `_metadata.yml` file.
For example, to include the tutorials sidebar on a page, add the following to the page's front matter:
For example, to include the sidebar with `id: tutorials` on a page, add the following to the page's front matter:

```yaml
sidebar: <id>
sidebar: tutorials
```

For more information on controlling the appearance of the side navigation using HTML themes, see [HTML Themes - Navigation](/docs/output-formats/html-themes.qmd#navigation). If you need to control the width of the sidebar, see [Page Layout - Grid Customization](/docs/output-formats/page-layout.qmd#grid-customization).
Expand Down

0 comments on commit ca4d8a6

Please sign in to comment.