summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-26 20:50:31 +0200
committerSerghei Iakovlev <git@serghei.pl>2024-09-26 21:05:09 +0200
commit0261be16e89a29fda7e86ff90e7ea42153c1d025 (patch)
treef448cd42813b3181d1836ba02ef20d3ce14133a8 /layouts
parenta41f74faf15901add15ac81849806e628d807a0f (diff)
downloadgohugo-theme-ed-0261be16e89a29fda7e86ff90e7ea42153c1d025.tar.gz
Replace deprecated resource.ToCss with css.Sass
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/styles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html
index 8283883..714677e 100644
--- a/layouts/partials/styles.html
+++ b/layouts/partials/styles.html
@@ -1,5 +1,5 @@
{{- /* Styles */}}
-{{- $theme := resources.Get "sass/style.scss" | resources.ToCSS }}
+{{- $theme := resources.Get "sass/style.scss" | css.Sass }}
{{- /* order is important */}}
{{- /* to ass more styles use the following format: slice $theme $style1 $style2 $style3 ... */}}