feat(style): change custom style file path (#360)

This commit is contained in:
Dillon
2020-05-15 19:05:16 +08:00
committed by GitHub
parent c6733538dc
commit da9df3b0ce
13 changed files with 35 additions and 28 deletions

View File

@@ -35,9 +35,9 @@
{{- partial "plugin/style.html" $style -}}
{{- /* style.min.css */ -}}
{{- $style := dict "source" "css/style.template.scss" "fingerprint" $fingerprint -}}
{{- $options := dict "targetPath" "css/style.min.css" "includePaths" (slice "config/css") "enableSourceMap" true -}}
{{- $style = dict "template" "style.scss" "context" . "toCSS" $options | merge $style -}}
{{- $style := dict "source" "css/style.scss" "fingerprint" $fingerprint -}}
{{- $options := dict "targetPath" "css/style.min.css" "enableSourceMap" true -}}
{{- $style = dict "context" . "toCSS" $options | merge $style -}}
{{- partial "plugin/style.html" $style -}}
{{- /* Font Awesome */ -}}