beautifulhugo
beautifulhugo copied to clipboard
Hugo v0.120.1: depecation warnings
When previewing or building the example site with latest hugo version v0.120.1, deprecation warnings are shown:
Start building sites …
hugo v0.120.1-16fb2cae88eb6add7d12e9fbfcf01d8670e60a35+extended linux/amd64 BuildDate=2023-10-30T16:44:31Z VendorInfo=gohugoio
WARN The author key in site configuration is deprecated. Use params.author.email instead.
WARN The author key in site configuration is deprecated. Use params.author.name instead.
try modifying your hugo.toml file like this:
[[params.author]]
email = "[email protected]"
name = "Some Person"
[Author]
# Set only your "username" for default hosts and full URLs otherwise (e.g., "https://MyGitLab.org/username")
#name = "Some Person"
website = "yourwebsite.com"
# email = "[email protected]"
We now require 0.120+, and most warnings are gone (minus one we have to show for a while to help people migrate)