Hugo Stack theme how to disable image processing
Stack uses Hugo’s built-in image processing features, but it still doesn’t support animated WebP, and take too much time to build. I prefer to make images my self, so want to disable the feature.
However, the theme’s document is not very clear. In fact, the flags cover.enabled
and content.enabled
are under site.Params.imageProcessing
section. I didn’t know that before reading codes.
So, you can disable that features as followings:
# hugo.toml or config.toml
[params.imageProcessing]
cover.enabled=false
content.enabled=false