Skip to content

Commit

Permalink
fix: replace resources.PostCSS with css.PostCSS (#226)
Browse files Browse the repository at this point in the history
Bump required minimal Hugo version to 0.128.0
  • Loading branch information
razonyang authored Aug 20, 2024
1 parent 555dcb4 commit bba72dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[module.hugoVersion]
extended = true
min = "0.111.3"
min = "0.128.0"

[[module.imports]]
path = "github.com/hugomods/hugopress"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/hb/assets/css-resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{- $postCSSOpts := dict
"use" (cond $rtl "rtlcss" "")
}}
{{- $style = $style | resources.PostCSS $postCSSOpts }}
{{- $style = $style | css.PostCSS $postCSSOpts }}
{{- if hugo.IsProduction }}
{{- $style = $style | fingerprint | resources.PostProcess }}
{{- end -}}
Expand Down

0 comments on commit bba72dc

Please sign in to comment.