diff options
author | FFRaycoder <nn_201312@163.com> | 2020-07-03 14:14:36 +0300 |
---|---|---|
committer | FFRaycoder <nn_201312@163.com> | 2020-07-03 14:14:36 +0300 |
commit | e01e218e56dfa5a003dd6bee89a020c0fe437e14 (patch) | |
tree | 4ede8c2686bc1c5105471d0339d117cbec9ea550 | |
parent | aaf70728cacdb51083d7894b82b407a9f643e299 (diff) |
style.html
-rw-r--r-- | layouts/partials/style.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 3f2ff0e..4e4bbf7 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -3,5 +3,5 @@ {{- $path := (strings.TrimPrefix "/" (printf `%s/css/tony.min.css` .Site.LanguagePrefix)) -}}
{{- $options := (dict "targetPath" $path "outputStyle" "compressed") -}}
-{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss") . | resources.ToCSS $options | resources.Fingerprint -}}
+{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss" . ) . | resources.ToCSS $options | resources.Fingerprint -}}
{{- printf `<link rel="stylesheet" href="%s" integrity="%s"/>` $style.RelPermalink $style.Data.Integrity | safeHTML -}}
|