victoriadrake/hugo-theme-sam

An error was encountered when placing a webp image into the gallery directory.

ike-keith opened this issue · 2 comments

First of all thank you for the simple and beautiful theme!

When I put a webp image into the gallery directory, I got the following error:
image

The images in the gallery directory look like this:

content/
 └── gallery/
      ├── _index.md
      ├── img_1.webp
      ├── img_2.png
      └── img_3.jpg

I learned that Hugo supports webp format from this page, Image Processing.

So I'm here to ask for some help.

mfg92 commented

Hugo has added support for webp in version 0.83 but you are using 0.80.0.

Wow, I didn't notice that, thanks for the tip.