Minify css output
This commit is contained in:
parent
2d0fd72dcf
commit
a42000fe63
7 changed files with 17 additions and 12 deletions
|
@ -1,6 +1,5 @@
|
|||
{{- define "stylesheet" -}}
|
||||
{{- $scss := resources.Get "/scss/blog.scss" -}}
|
||||
{{- $style := $scss | resources.ToCSS -}}
|
||||
{{- $style := resources.Get "/scss/blog.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
|
||||
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue