diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-06-28 21:45:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-06-28 21:45:48 +0200 |
commit | 8431c8d39d878c18c6b5463d9091a953608df10b (patch) | |
tree | 01da6e84de403fee000c1128e32495314b69d4be | |
parent | da72805a4304a57362e8e79a01cc145767b027c5 (diff) | |
download | hugo-8431c8d39d878c18c6b5463d9091a953608df10b.tar.gz hugo-8431c8d39d878c18c6b5463d9091a953608df10b.zip |
tpl: Add WebP images support
Fixes #3529
-rw-r--r-- | tpl/images/images.go | 2 | ||||
-rw-r--r-- | vendor/vendor.json | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go index f98c24286..ce29ac4d5 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -23,6 +23,8 @@ import ( _ "image/jpeg" _ "image/png" + _ "golang.org/x/image/webp" + "github.com/gohugoio/hugo/deps" "github.com/spf13/cast" ) diff --git a/vendor/vendor.json b/vendor/vendor.json index 89471466c..e85afaf24 100644 --- 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", |