From b1393a3d6e77484e86b1d0c3cb2ecb8fb6914423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 20 Oct 2023 19:51:40 +0200 Subject: [PATCH] docs: change in author configuration #693 --- .../content/basics/configuration/_index.en.md | 5 +++-- .../content/basics/migration/_index.en.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index 1fa53490f3..3be0ce8e73 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -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. # See the config.toml file from this documentation site to have an example. editURL = "" - # Author of the site, will be used in meta information - author = "" # Description of the site, will be used in meta information description = "" # 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 # 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" + # 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 [params.imageEffects] border = false diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index da72125c88..0652cad1de 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -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} +- {{% 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 adjust the menu width for your whole site. [See the docs]({{% relref "basics/customization#change-the-menu-width" %}}).