mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-07 12:23:30 +00:00
docs: change in author configuration #693
This commit is contained in:
parent
7665a4aeca
commit
b1393a3d6e
2 changed files with 21 additions and 2 deletions
|
@ -20,8 +20,6 @@ Note that some of these parameters are explained in details in other sections of
|
||||||
# Useful to give opportunity to people to create merge request for your doc.
|
# Useful to give opportunity to people to create merge request for your doc.
|
||||||
# See the config.toml file from this documentation site to have an example.
|
# See the config.toml file from this documentation site to have an example.
|
||||||
editURL = ""
|
editURL = ""
|
||||||
# Author of the site, will be used in meta information
|
|
||||||
author = ""
|
|
||||||
# Description of the site, will be used in meta information
|
# Description of the site, will be used in meta information
|
||||||
description = ""
|
description = ""
|
||||||
# Shows a checkmark for visited pages on the menu
|
# Shows a checkmark for visited pages on the menu
|
||||||
|
@ -93,6 +91,9 @@ Note that some of these parameters are explained in details in other sections of
|
||||||
disableExplicitIndexURLs = false
|
disableExplicitIndexURLs = false
|
||||||
# For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu
|
# For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu
|
||||||
externalLinkTarget = "_blank"
|
externalLinkTarget = "_blank"
|
||||||
|
# Author of the site, will be used in meta information
|
||||||
|
[params.author]
|
||||||
|
name = ""
|
||||||
# Override default values for image effects, you can even add your own arbitrary effects to the list
|
# Override default values for image effects, you can even add your own arbitrary effects to the list
|
||||||
[params.imageEffects]
|
[params.imageEffects]
|
||||||
border = false
|
border = false
|
||||||
|
|
|
@ -20,6 +20,24 @@ This document shows you what's new in the latest release. For a detailed list of
|
||||||
|
|
||||||
## 5.23.0-beta {#5230}
|
## 5.23.0-beta {#5230}
|
||||||
|
|
||||||
|
- {{% badge style="note" title=" " %}}Change{{% /badge %}} Hugo 0.120 moves the author settings into the `[params]` array in your `config.toml`. Because this collides with the previous way, the theme expected author informations, it now adheres to Hugo standards and prints out a warning during built if something is wrong.
|
||||||
|
|
||||||
|
Change your previous setting from
|
||||||
|
|
||||||
|
````toml
|
||||||
|
[params]
|
||||||
|
author = "Hugo"
|
||||||
|
````
|
||||||
|
|
||||||
|
to
|
||||||
|
|
||||||
|
````toml
|
||||||
|
[params]
|
||||||
|
[params.author]
|
||||||
|
name = "Hugo"
|
||||||
|
````
|
||||||
|
|
||||||
|
|
||||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to print custom taxonomies anywhere in you page. [See the docs]({{% relref "cont/taxonomy#customization" %}}).
|
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to print custom taxonomies anywhere in you page. [See the docs]({{% relref "cont/taxonomy#customization" %}}).
|
||||||
|
|
||||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to adjust the menu width for your whole site. [See the docs]({{% relref "basics/customization#change-the-menu-width" %}}).
|
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to adjust the menu width for your whole site. [See the docs]({{% relref "basics/customization#change-the-menu-width" %}}).
|
||||||
|
|
Loading…
Add table
Reference in a new issue