shithub: hugo

Download patch

ref: 8431c8d39d878c18c6b5463d9091a953608df10b
parent: da72805a4304a57362e8e79a01cc145767b027c5
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Jun 28 17:45:48 EDT 2017

tpl: Add WebP images support

Fixes #3529

--- a/tpl/images/images.go
+++ b/tpl/images/images.go
@@ -23,6 +23,8 @@
 	_ "image/jpeg"
 	_ "image/png"
 
+	_ "golang.org/x/image/webp"
+
 	"github.com/gohugoio/hugo/deps"
 	"github.com/spf13/cast"
 )
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -365,6 +365,12 @@
 			"revisionTime": "2017-06-13T19:24:08Z"
 		},
 		{
+			"checksumSHA1": "wwirbKM4d69iWA4s9JwpXTsda3A=",
+			"path": "golang.org/x/image/webp",
+			"revision": "426cfd8eeb6e08ab1932954e09e3c2cb2bc6e36d",
+			"revisionTime": "2017-05-14T06:33:48Z"
+		},
+		{
 			"checksumSHA1": "VrzPJyWI6disCgYuVEQzkjqUsJk=",
 			"path": "golang.org/x/net/idna",
 			"revision": "ddf80d0970594e2e4cccf5a98861cad3d9eaa4cd",