gethugothemes / bigspring-light-hugo

Bigspring is a Hugo startup theme. It has a clean, minimal, fresh UI.
https://gethugothemes.com/products/bigspring/?utm_source=bigspring_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
204 stars 305 forks source link

Deprecation errors with hugo 0.135 #76

Open Boldie opened 1 month ago

Boldie commented 1 month ago
$ docker run -v ${PWD}:/src hugomods/hugo:exts-0.135.0 hugo server
WARN  deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead.
ERROR deprecated: config: languages.en.footer_menu_left: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_content: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_menu_middle: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.en.footer_menu_right: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_content: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_left: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_middle: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.de.footer_menu_right: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.136.0. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Watching for changes in /src/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /src/config/_default, /src/themes/bigspring-light/config.toml
Start building sites … 
hugo v0.135.0-f30603c47f5205e30ef83c70419f57d7eb7175ab+extended linux/amd64 BuildDate=2024-09-27T13:17:08Z VendorInfo=hugomods

WARN  deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in a future release. Use .Site.Params instead.
WARN  deprecated: .Site.Authors was deprecated in Hugo v0.124.0 and will be removed in a future release. Use taxonomies instead.
ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.136.0. Use .Site.Config.Services.Disqus.Shortname instead.
Built in 181 ms
Error: error building site: logged 1 error(s)

There are some deprecations with hugo 0.135 and hugo breaks with errors while building.

gontcharovd commented 1 month ago

Yes, I'm facing the same issue.

More info here: https://github.com/gohugoio/hugo/issues/12949

djagoo commented 3 weeks ago

Even with the non-light version I now get errors but I don't find .Site.Social or .Site.Authors anywhere.

Start building sites … hugo v0.136.5+extended linux/amd64 BuildDate=unknown

ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Implement taxonomy 'social' or use .Site.Params.Social instead. ERROR deprecated: .Site.Authors was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Implement taxonomy 'authors' or use .Site.Params.Author instead. Built in 1286 ms Error: error building site: logged 2 error(s)