Prior to v0.55, the following code would generate a link to the “.bib” file in a page bundle. In v0.55, the resource is found (GetMatch is successful) and the download link is generated, but the resource link is 404:
{{ $resource := $.Resources.GetMatch "*.bib" }}
{{ with $resource }}
<a href="{{ .Permalink }}">Download</a>
{{ end }}
Any ideas? Is it necessary to add further metadata or options in v0.55?
I have checked and I cannot reproduce your issue, which must mean that there is something “special” going on in your case – do you have the source code online to share?
With v0.53 everything was working fine In v0.55, Hugo correctly locates the resource and generates the link to the resource, but the resource is no longer present in the generated site, so the link gives 404 error.