Open LITUATUI opened 2 years ago
Not to nag, but does this align with your goals for PaperMod @adityatelange?
Adding support for this would simply include tweaking the figure
shortcode. Would you be open to accept such a PR?
Here's the support graph for the picture
element and here's the one for the figure
element. And here's a SO question regarding the use of picture
inside figure
element.
I'm looking for a way to have Hugo generate modern image format of images used in page bundles. I hope this will be included in a next version of PaperMod. Thanks
Please, make it happen.
Support for modern image formats is a great way to improve the speed of a website.
The Hugo Clarity theme has a great way of dealing with new image formats like AVIF, JXL or WebP.
Implemented this way would have no disadvantages even for old browsers that don't support modern image formats.
Then we can use ImageMagick to batch convert all JPG and PNG files in our image folder.