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

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 19:44:21 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 19:44:21 +0300
commit990f58c70adde77af039fe4588077fb55241bfb9 (patch)
tree34171bf69af5714ff6e252bf359b79d30bcf7e03
parent83854364cf4c01bd33838e488aa6a62aad7496b3 (diff)
compress css
-rw-r--r--layouts/_default/baseof.html2
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 }}">