Skip to content

Commit 391b4cb

Browse files
committed
fix: resources.PostCSS was deprecated in Hugo v0.128.0
Signed-off-by: Leonardo Cecchi <[email protected]>
1 parent 29d8f46 commit 391b4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="preload" href="/fonts/Supreme-Variable.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
1616
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel="stylesheet" />
1717
{{- $styles := resources.Match "css/*.css" | resources.Concat "main.css" }}
18-
{{- $styles = $styles | resources.PostCSS (dict "inlineImports" true) }}
18+
{{- $styles = $styles | css.PostCSS (dict "inlineImports" true) }}
1919
{{- if hugo.IsProduction }}
2020
{{- $styles = $styles | minify }}
2121
{{- end }}

0 commit comments

Comments
 (0)