tpl: Add WebP images support

Fixes #3529
This commit is contained in:
Bjørn Erik Pedersen 2017-06-28 21:45:48 +02:00
parent da72805a43
commit 8431c8d39d
2 changed files with 8 additions and 0 deletions

View file

@ -23,6 +23,8 @@ import (
_ "image/jpeg"
_ "image/png"
_ "golang.org/x/image/webp"
"github.com/gohugoio/hugo/deps"
"github.com/spf13/cast"
)

6
vendor/vendor.json vendored
View file

@ -364,6 +364,12 @@
"revision": "850760c427c516be930bc91280636328f1a62286",
"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",