Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion docs/authoring/brand.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ logo:
---
```


::: {.callout-warning}

## Limitation
Expand All @@ -405,6 +404,32 @@ It is [not currently possible](https://github.com/quarto-dev/quarto-cli/issues/1

When using `format: typst` you can additionally [customize the logo position](../output-formats/typst.qmd#logo-position).

#### Disabling the logo

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`.

For websites:

```{.yaml filename="_quarto.yml"}
website:
sidebar:
logo: false
navbar:
logo: false
```

For books:

```{.yaml filename="_quarto.yml"}
book:
navbar:
logo: false
sidebar:
logo: false
```

This is useful when you want brand styling applied to your project but prefer not to display a logo in the navigation.

### Typography

[Typography in the **brand.yml** docs](https://posit-dev.github.io/brand-yml/brand/typography.html){.external}
Expand Down
10 changes: 10 additions & 0 deletions docs/books/book-output.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ book:
background: light
```

#### Sidebar Logo

You can disable the brand logo on the sidebar if you're using a [`_brand.yml`](/docs/authoring/brand.qmd):

``` yaml
book:
sidebar:
logo: false
```

## Cover Images

You can provide a cover image for EPUB and/or HTML formats using the `cover-image` option. For example:
Expand Down
4 changes: 2 additions & 2 deletions docs/websites/website-navigation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Here are all of the options available for top navigation:
| Option | Description |
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `title` | Navbar title (uses the `site: title` if none is specified). Use `title: false` to suppress the display of the title on the navbar. |
| `logo` | Logo image to be displayed left of the title. |
| `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. |
| `logo-alt` | Alternate text for the logo image. |
| `logo-href` | Target href from navbar logo / title. By default, the logo and title link to the root page of the site (`/index.html`). |
| `background` | Background color ("primary", "secondary", "success", "danger", "warning", "info", "light", "dark", or hex color). |
Expand Down Expand Up @@ -164,7 +164,7 @@ Here are all of the options available for side navigation:
|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `id` | Optional identifier (used only for hybrid navigation, described below). |
| `title` | Sidebar title (uses the project title if none is specified). |
| `logo` | Optional logo image. |
| `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. |
| `logo-alt` | Alternate text for the logo image. |
| `logo-href` | Target href from sidebar logo. By default, the logo and title link to the root page of the site (`/index.html`). |
| `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. |
Expand Down