Skip to content

Commit

Permalink
tpl: Add WebP images support
Browse files Browse the repository at this point in the history
Fixes #3529
  • Loading branch information
bep committed Jun 28, 2017
1 parent da72805 commit 8431c8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tpl/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import (
_ "image/jpeg"
_ "image/png"

_ "golang.org/x/image/webp"

"github.com/gohugoio/hugo/deps"
"github.com/spf13/cast"
)
Expand Down
6 changes: 6 additions & 0 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8431c8d

Please sign in to comment.