diff options
author | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 19:44:21 +0300 |
---|---|---|
committer | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 19:44:21 +0300 |
commit | 990f58c70adde77af039fe4588077fb55241bfb9 (patch) | |
tree | 34171bf69af5714ff6e252bf359b79d30bcf7e03 | |
parent | 83854364cf4c01bd33838e488aa6a62aad7496b3 (diff) |
compress css
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 589f156..e2456d4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,7 @@ <title>{{ if .Title }} {{ .Title }} | {{ end }}{{ $.Site.Title }}</title> {{ $themeScss := "scss/main.scss" }} - {{ $options := (dict "targetPath" "css/main.css") }} + {{ $options := (dict "targetPath" "css/main.css" "outputStyle" "compressed") }} {{ $themeCss := resources.Get $themeScss | resources.ExecuteAsTemplate $themeScss . | toCSS $options | fingerprint }} <link rel="stylesheet" href="{{ $themeCss.Permalink }}"> |