mirror of
https://github.com/chaoming/hugo-saasify-theme.git
synced 2025-04-20 05:41:52 +02:00
fix(baseof.html): resolve deprecated resources.PostCSS
ERROR deprecated: resources.PostCSS was deprecated in Hugo v0.128.0 and will be removed in Hugo 0.141.0. Use css.PostCSS instead.
This commit is contained in:
parent
60c5c47750
commit
738f2ce375
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
<!-- Main CSS -->
|
<!-- Main CSS -->
|
||||||
{{ $css := resources.Get "css/main.css" }}
|
{{ $css := resources.Get "css/main.css" }}
|
||||||
{{ $css = $css | resources.PostCSS }}
|
{{ $css = $css | css.PostCSS }}
|
||||||
{{ if hugo.IsProduction }}
|
{{ if hugo.IsProduction }}
|
||||||
{{ $css = $css | minify | fingerprint | resources.PostProcess }}
|
{{ $css = $css | minify | fingerprint | resources.PostProcess }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue