Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-28 22:45:48 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-28 22:45:48 +0300
commit8431c8d39d878c18c6b5463d9091a953608df10b (patch)
tree01da6e84de403fee000c1128e32495314b69d4be /tpl
parentda72805a4304a57362e8e79a01cc145767b027c5 (diff)
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"
)