lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
661 stars 364 forks source link

Fix deprecation warnings #521

Closed deining closed 1 month ago

deining commented 2 months ago

When running example site with latest hugo version 0.134.2, deprecation warnings are shown, e.g.:

WARN  deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.
WARN  deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.

This PR fixes these issues. This PR closes #519.

netlify[bot] commented 2 months ago

Deploy Preview for anatole-demo ready!

Name Link
Latest commit 6d18dd8ad8c811e6b191ea578f253ed3e6fa978e
Latest deploy log https://app.netlify.com/sites/anatole-demo/deploys/66e9e8c5527b340008bbace9
Deploy Preview https://deploy-preview-521--anatole-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 89
Accessibility: 88
Best Practices: 100
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

ericswpark commented 1 month ago

@lxndrblz can this please be merged? Hugo 0.136.0 starts treating this as an error, which stops GitHub Pages builds.