Skip to content

Loop over supported images, excluding avif#65

Open
spolischook wants to merge 1 commit intomfg92:masterfrom
spolischook:master
Open

Loop over supported images, excluding avif#65
spolischook wants to merge 1 commit intomfg92:masterfrom
spolischook:master

Conversation

@spolischook
Copy link

I have the side script that I run before the build process, which generates avif and webp images.
Now with this condition, there will be no error in case the avif or webp images in source directory - they will be just ignored.

@mfg92
Copy link
Owner

mfg92 commented Jan 22, 2024

Thank you for your contribution.

I did some experiments and they showed that Hugo does support reading webp images, so I see no reason to filter them out by default. Have you had problems with webp images? Are you using the latest version of Hugo?

@mfg92 mfg92 force-pushed the master branch 2 times, most recently from 1653af4 to 0152e96 Compare June 28, 2024 20:44
@mfg92 mfg92 added the question Further information is requested label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

2 participants