Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcntrump <cntrump@gmail.com>2020-05-28 14:06:27 +0300
committerGitHub <noreply@github.com>2020-05-28 14:06:27 +0300
commit5459fe42b0cedeb50592ed424ed1a0e0dcb691ff (patch)
tree903f1200a466abe797dcaba70aa01c925838b9f6
parent9fd5526a26d92e6ac5dc9922d949cafb318a04c4 (diff)
Update custom-css.html
-rw-r--r--layouts/partials/custom-css.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/custom-css.html b/layouts/partials/custom-css.html
index 6d2a6e4..e38fe5f 100644
--- a/layouts/partials/custom-css.html
+++ b/layouts/partials/custom-css.html
@@ -1,7 +1,7 @@
{{- $context := . -}}
{{- $css := "" -}}
{{- range site.Params.assets.css -}}
- {{- $customCSS := resources.Get . | resources.ExecuteAsTemplate "foo" . -}}
+ {{- $customCSS := resources.Get . -}}
{{- $customCSS := $customCSS | resources.ExecuteAsTemplate (printf "%s.custom.css" .) $context -}}
{{- if $customCSS -}}
{{- $scss := false -}}