Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop over supported images, excluding avif #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants