Skip to content

Commit 8431c8d

Browse files
committed
tpl: Add WebP images support
Fixes #3529
1 parent da72805 commit 8431c8d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎tpl/images/images.go‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import (
2323
_ "image/jpeg"
2424
_ "image/png"
2525

26+
_ "golang.org/x/image/webp"
27+
2628
"github.com/gohugoio/hugo/deps"
2729
"github.com/spf13/cast"
2830
)

‎vendor/vendor.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,12 @@
364364
"revision": "850760c427c516be930bc91280636328f1a62286",
365365
"revisionTime": "2017-06-13T19:24:08Z"
366366
},
367+
{
368+
"checksumSHA1": "wwirbKM4d69iWA4s9JwpXTsda3A=",
369+
"path": "golang.org/x/image/webp",
370+
"revision": "426cfd8eeb6e08ab1932954e09e3c2cb2bc6e36d",
371+
"revisionTime": "2017-05-14T06:33:48Z"
372+
},
367373
{
368374
"checksumSHA1": "VrzPJyWI6disCgYuVEQzkjqUsJk=",
369375
"path": "golang.org/x/net/idna",

0 commit comments

Comments
 (0)