Hello everyone !
I have been enjoying using Hugo for more than a year now and I must say it is a really wel-thought out and impressive tool. I’m grateful for it and the community is really helpful, many thanks to all!
One tedious thing about static sites is image optimization. I’ve not been entirely satisfied with the way images are treated by the Image Processing pipeline of Hugo, so I started using my usual command-line tools. But handling different formats with 2 different programs (jpegoptim and pngquant) was kind of tiring so I decided to write a simple wrapper script around these 2 programs, so that it is much faster and simpler to do. Of course, the nature of this little script makes it easily usable by other script.
It’s not much but I thought I’d share.