You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf96cfa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/authoring/brand.qmd
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -394,7 +394,6 @@ logo:
394
394
---
395
395
```
396
396
397
-
398
397
::: {.callout-warning}
399
398
400
399
## Limitation
@@ -405,6 +404,32 @@ It is [not currently possible](https://github.com/quarto-dev/quarto-cli/issues/1
405
404
406
405
When using `format: typst` you can additionally [customize the logo position](../output-formats/typst.qmd#logo-position).
407
406
407
+
#### Disabling the logo
408
+
409
+
If you want to use `_brand.yml` for colors and typography but don't want the brand logo to appear on specific navigation elements, you can disable it in your `_quarto.yml`.
410
+
411
+
For websites:
412
+
413
+
```{.yaml filename="_quarto.yml"}
414
+
website:
415
+
sidebar:
416
+
logo: false
417
+
navbar:
418
+
logo: false
419
+
```
420
+
421
+
For books:
422
+
423
+
```{.yaml filename="_quarto.yml"}
424
+
book:
425
+
navbar:
426
+
logo: false
427
+
sidebar:
428
+
logo: false
429
+
```
430
+
431
+
This is useful when you want brand styling applied to your project but prefer not to display a logo in the navigation.
432
+
408
433
### Typography
409
434
410
435
[Typography in the **brand.yml** docs](https://posit-dev.github.io/brand-yml/brand/typography.html){.external}
| `title` | Navbar title (uses the `site: title` if none is specified). Use `title: false` to suppress the display of the title on the navbar. |
58
-
| `logo` | Logo image to be displayed left of the title. |
58
+
| `logo` | Logo image to be displayed left of the title. When using a [`_brand.yml`](/docs/authoring/brand.qmd) with a logo, the brand logo is automatically displayed. Use `logo: false` to suppress the brand logo on the navbar. |
59
59
| `logo-alt` | Alternate text for the logo image. |
60
60
| `logo-href` | Target href from navbar logo / title. By default, the logo and title link to the root page of the site (`/index.html`). |
61
61
| `background` | Background color ("primary", "secondary", "success", "danger", "warning", "info", "light", "dark", or hex color). |
@@ -164,7 +164,7 @@ Here are all of the options available for side navigation:
| `id` | Optional identifier (used only for hybrid navigation, described below). |
166
166
| `title` | Sidebar title (uses the project title if none is specified). |
167
-
| `logo` | Optional logo image. |
167
+
| `logo` | Optional logo image. When using a [`_brand.yml`](/docs/authoring/brand.qmd) with a logo, the brand logo is automatically displayed. Use `logo: false` to suppress the brand logo on the sidebar. |
168
168
| `logo-alt` | Alternate text for the logo image. |
169
169
| `logo-href` | Target href from sidebar logo. By default, the logo and title link to the root page of the site (`/index.html`). |
170
170
| `search` | Include a search box (true or false). Note that if there is already a search box on the top navigation bar it won't be displayed on the sidebar. |
0 commit comments