forked from drowl87/hextra_mirror
fix: replace deprecated resources.PostCSS
(#458)
This commit is contained in:
parent
c70900c25f
commit
9173f59392
@ -1,6 +1,6 @@
|
|||||||
{{- if and (not hugo.IsProduction) (eq hugo.Environment "theme") }}
|
{{- if and (not hugo.IsProduction) (eq hugo.Environment "theme") }}
|
||||||
{{- $styles := resources.Get "css/styles.css" }}
|
{{- $styles := resources.Get "css/styles.css" }}
|
||||||
{{- $styles = $styles | resources.PostCSS (dict "inlineImports" true) }}
|
{{- $styles = $styles | postCSS (dict "inlineImports" true) }}
|
||||||
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
|
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $styles := resources.Get "css/compiled/main.css" -}}
|
{{- $styles := resources.Get "css/compiled/main.css" -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user