Merge pull request #3 from mhadadian/main

fix(baseof.html): resolve deprecated resources.PostCSS
This commit is contained in:
Chaoming Li 2024-12-26 08:30:30 +11:00 committed by GitHub
commit 8b9a808c31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}