Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN deprecated: resources.ToCSS #712

Closed
henry63 opened this issue Sep 9, 2024 · 0 comments
Closed

WARN deprecated: resources.ToCSS #712

henry63 opened this issue Sep 9, 2024 · 0 comments

Comments

@henry63
Copy link

henry63 commented Sep 9, 2024

My project causes me this issue :
WARN deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.

The only occurence I found of resources.ToCSS are in ananke :

ananke %  find . -type file -exec fgrep -iH "resources.ToCSS" {} \;
./layouts/partials/func/style/GetMainCSS.html:          {{ $assets_to_concat = $assets_to_concat | append (. | resources.ToCSS) }}
./layouts/partials/func/style/GetMainCSS.html:  {{ $style = $style | resources.ToCSS $options | minify }}

My project theme in hugo.toml : theme = [ "ananke", "hugo-shortcode-gallery"]

@davidsneighbour davidsneighbour changed the title WARN deprecatedWARN deprecated: resources.ToCSS WARN deprecated: resources.ToCSS Sep 17, 2024
z3ntu pushed a commit to z3ntu/gohugo-theme-ananke that referenced this issue Nov 17, 2024
fixes theNewDynamic#712

Signed-off-by: Patrick Kollitsch <[email protected]>
(cherry picked from commit 321680f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant