Let 'resources.ToCSS' handle SASS minification
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luca 2020-11-13 18:40:46 +01:00
parent 200fa9aaf0
commit 65d374ca5a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
{{ .Site.Title }} {{ .Site.Title }}
{{ end }}</title> {{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo="> <link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{ $style := resources.Get "style.scss" | resources.ToCSS | minify }} {{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head> </head>
<body> <body>