mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-29 21:14:05 +00:00
logo: move Relearn logo to exampleSite #924
This commit is contained in:
parent
4d2b55e64b
commit
21c7bb3034
7 changed files with 85 additions and 53 deletions
exampleSite/content
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue