kdevo / osprey-delight

Osprey Delight is the free-minded artist's choice for a clutter-free and blazingly fast single-page portfolio.
https://hugo-mods.github.io/
Apache License 2.0
97 stars 43 forks source link

Deprecation warnings/errors #58

Open kazum1kun opened 3 weeks ago

kazum1kun commented 3 weeks ago

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
)
kdevo commented 2 weeks ago

Currently I don't have time to work on this project, so any PR is welcome! While being a good project overall, Hugo brought us/me a lot of breaking changes during the lifetime of this theme. It feels hard to just keep it up and running without always changing something...