summaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-06-28 21:45:48 +0200
committerBjørn Erik Pedersen <[email protected]>2017-06-28 21:45:48 +0200
commit8431c8d39d878c18c6b5463d9091a953608df10b (patch)
tree01da6e84de403fee000c1128e32495314b69d4be /tpl
parentda72805a4304a57362e8e79a01cc145767b027c5 (diff)
downloadhugo-8431c8d39d878c18c6b5463d9091a953608df10b.tar.gz
hugo-8431c8d39d878c18c6b5463d9091a953608df10b.zip
tpl: Add WebP images support
Fixes #3529
Diffstat (limited to 'tpl')
-rw-r--r--tpl/images/images.go2
1 files changed, 2 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"
)