I’m wondering how to fix the following error:
Error Text
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.
hugo: collected modules in 1921 ms Start building sites …
hugo v0.134.1-2f89169baa87a9db47e288b60705f4e99e21a945+extended
linux/amd64 BuildDate=2024-09-05T10:17:50Z
VendorInfo=snap:0.134.1
ERROR deprecated: .Site.DisqusShortname was deprecated
in Hugo v0.120.0 and will be removed in Hugo 0.135.0.
Use .Site.Config.Services.Disqus.Shortname instead.
WARN calling IsSet with unsupported type "invalid" (<nil>)
will always return false. ERROR render of "page" failed:
"$theme/layouts/_default/single.html:35:65":
execute of template failed: template: _default/single.html:35:65:
executing "_default/single.html" at <.Site.Params.date_format>:
invalid value; expected string
Total in 2102 ms
Error: error building site: render: failed to render pages:
render of "section" failed:
"$theme/layouts/_default/list.html:59:75":
execute of template failed: template: _default/list.html:59:75:
executing "_default/list.html" at <.Site.Params.date_format>:
invalid value; expected string
I’m using the Universal theme, running Hugo 0.134.1 on a Linode instance runnig Debian bullseye 11.10.