hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 451380177868e48127a33362aa8d553b90516fb5
parent 56354a63bb73271224a9300a4742dc1a2f551202
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue,  7 Jan 2020 18:06:22 +0100

minifiers: Update to new CSS config

Update #6719

Diffstat:
Mminifiers/minifiers.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go
@@ -72,8 +72,8 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client {
 	}
 
 	cssMin := &css.Minifier{
-		Decimals: -1,
-		KeepCSS2: true,
+		Precision: 0,
+		KeepCSS2:  true,
 	}
 
 	// We use the Type definition of the media types defined in the site if found.