logo: move Relearn logo to exampleSite

This commit is contained in:
Sören Weber 2024-10-10 08:36:18 +02:00
parent 4d2b55e64b
commit 21c7bb3034
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
7 changed files with 85 additions and 53 deletions
exampleSite/content
configuration/sitemanagement/meta
introduction/releasenotes/7

View file

@ -1,7 +1,7 @@
+++
description = "What site-wide meta nformation can be set"
frontmatter = ["description"]
options = ["author.email", "author.name"]
options = ["author.email", "author.name", "linkTitle"]
title = "Meta Information"
weight = 3
+++
@ -17,6 +17,18 @@ weight = 3
email = 'santa@example.com'
{{< /multiconfig >}}
## Site Title
The `title` will be used in meta information of your HTML.
{{% badge style="cyan" icon="gears" title=" " %}}Option{{% /badge %}} It will also be used for the text at the top of the sidebar. If you want to show a different text in the sidebar, you can overwrite `linkTitel`.
{{< multiconfig file=hugo >}}
title = 'Hugo Relearn Theme'
[params]
linkTitle = "Relearn"
{{< /multiconfig >}}
## Site Description
{{% badge style="green" icon="fa-fw fab fa-markdown" title=" " %}}Front Matter{{% /badge %}} The theme shows a site description in various places, such as RSS feeds and meta tags. For this, it uses the `description` field from your home page's front matter.

View file

@ -69,6 +69,12 @@ weight = -0
You don't need to change anything yet but will receive warnings if the old settings are used.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} The default logo is not contained inside of the theme's logo partial anymore.
This is to avoid usage of the theme's branding throughout the web in non-modified installations.
In addition, the default text for the logo partial is now [taken from the `linkTitle` setting](configuration/sitemanagement/meta#site-title) of your `hugo.toml`.
## New
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The docs received a much-needed overhaul for all chapters.