Skip to content

Deprecation warnings/errors #58

@kazum1kun

Description

@kazum1kun

I tried creating a website from the exampleWebsite folder, and I got the following deprecation warnings

Start building sites … 
hugo v0.134.3-5fb333b9f5ff4ec018f9d78910177d0bec1befb0+extended windows/amd64 BuildDate=2024-09-19T14:28:20Z VendorInfo=gohugoio

WARN  deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.
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  deprecated: data.GetJSON was deprecated in Hugo v0.123.0 and will be removed in a future release. use resources.Get or resources.GetRemote with transform.Unmarshal.
WARN  Performance: inlined JS is 6711KB
Built in 138 ms
Error: error building site: logged 1 error(s)

I have the latest hugo 0.134.3 and my go.mod looks like the following

require (
	github.com/FortAwesome/Font-Awesome v0.0.0-20210316185733-d79d85c3fad8 // indirect
	github.com/aFarkas/lazysizes v0.0.0-20210517092641-1523a4ff4579 // indirect
	github.com/hugo-mods/icons v0.0.0-20220508080705-d938a1900b1c // indirect
	github.com/hugo-mods/lazyimg v0.0.0-20220925161121-72183e14a364 // indirect
	github.com/hugo-mods/release-notify v0.0.0-20211204191115-572031cb0d70 // indirect
	github.com/kdevo/osprey-delight/v5 v5.0.7 // indirect
)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions