Skip to content

Commit 562e56c

Browse files
committed
docs: honing #679
1 parent 2ead412 commit 562e56c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/content/configuration/branding/logo/_index.en.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ If you need to change this default behavior, create a new file `layouts/partials
2222

2323
## Change the Logo
2424

25-
{{% badge style="option" %}}Option{{% /badge %}} The theme displays a logo in the sidebar menu. By default, it automatically detects logo in your site's `assets/images/`.
25+
{{% badge style="option" %}}Option{{% /badge %}} The theme displays a logo in the sidebar menu. By default, it automatically detects logos in your site's `assets/images/`.
2626

2727
### Auto-Detection
2828

29-
If you don't configure a logo explicitly, the theme automatically searches for a logo file at `/images/logo.<TYPE>` in the following order of preference:
29+
If you don't configure a logo explicitly, the theme automatically searches for a logo file at `/assets/images/logo.<TYPE>` in the following order of preference:
3030

3131
- `logo.svg`
3232
- `logo.webp`
3333
- `logo.png`
3434
- `logo.jpg` / `logo.jpeg`
3535
- `logo.gif`
3636

37-
Place your logo in either `assets/images/` and the theme will find it automatically. If no logo is found, only {your site title](configuration/sidebar/headerfooter#title) will be shown.
37+
If no logo is found, only {your site title](configuration/sidebar/headerfooter#title) will be shown.
3838

3939
The size of the logo will adapt automatically.
4040

41-
### Configuration
41+
### Manual Configuration
4242

4343
You can explicitly configure a logo in your site's `params.toml`. This will override automatic detection:
4444

@@ -57,7 +57,7 @@ logo = { src = ' ' } # No logo, only site title
5757
You can control the layout direction of the logo and title:
5858

5959
{{< multiconfig file=hugo section=params >}}
60-
logo = { src = '/images/logo.svg', direction = 'column' }
60+
logo = { direction = 'column' }
6161
{{< /multiconfig >}}
6262

6363
Valid values are:
@@ -94,7 +94,7 @@ themeVariant = [
9494

9595
### Coloring SVG logos
9696

97-
If you have a monochrome SVG logo and want to give it different colors depending on the used variant, it is mandatory to give it the `inlinecontent` [image effect](authoring/linking/imageeffects). This is not set in the automatic logo detection:
97+
If you have a monochrome SVG logo and want to display it in the variants color for the logo text, it is mandatory to give it the `inlinecontent` [image effect](authoring/linking/imageeffects). This is not set in the automatic logo detection. The recoloring applies to all black elements in your SVG:
9898

9999
{{< multiconfig file=hugo section=params >}}
100100
logo = { src = '/images/logo.svg?inlinecontent' }

docs/content/introduction/releasenotes/8/4.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ weight = -4
2020
- rely on auto detection for a logo
2121
- remove the logo completly
2222
- override the logo for each variant
23-
- let the logo and site title lay out vertically and horizontally
23+
- let the logo and site title lay out vertically or horizontally
2424
- override the complete layout with your own partial (that's the old way and still works)
2525

2626
Nevertheless, this required massive changes to the CSS and most likely your logo will require tweaking of the CSS styles after an update.

layouts/partials/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.0+aec5fc4bbddf9e1e5595d75ac87000ffc08b8cd8
1+
8.3.0+2ead41254327afba70907b6c30fdc8625b3dc05b

0 commit comments

Comments
 (0)