beautifulhugo icon indicating copy to clipboard operation
beautifulhugo copied to clipboard

Hugo v0.120.1: depecation warnings

Open deining opened this issue 1 year ago • 1 comments

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.

deining avatar Oct 31 '23 12:10 deining

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]"

vinceyoumans avatar Nov 30 '23 05:11 vinceyoumans

We now require 0.120+, and most warnings are gone (minus one we have to show for a while to help people migrate)

henryiii avatar Jul 11 '24 16:07 henryiii