I am processing images through .Resources.GetMatch, but after upgrading Hugo to version 0.57.2 (before it was 0.55.x) it is giving errors due to .DS_Store files. Below is the code snippet:
{{ with .Resources.GetMatch "images/*" }}
<img src="{{ (.Fill "380x380 q80").Permalink }}">
{{ end }}
This code snippet returns the following error when there is a .DS_Store file inside the /images folder:
execute of template failed: template: blog/single.html:39:67: executing "main" at <"images/*">: can't evaluate field Fill in type resource.Resource