Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
0.55: resource in bundle is found but link is invalid #5858
In v0.53 and prior versions, 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 (.Permalink and .Content are correct), but the resource link is 404 as Hugo no longer copies the bundled file across to the generated site output.
Code which links to the resource: https://github.com/gcushen/hugo-academic/blob/01114416aaaafd61022c79deca445b1ca8bd70f7/layouts/partials/page_links.html#L32
Example page bundle containing the ".bib" file that no longer appears in the generated site for v0.55: https://github.com/gcushen/hugo-academic/tree/master/exampleSite/content/publication/conference-paper
To reproduce, run the above example site in v0.53 and the
Then re-run in v0.55 and the "Cite" resource link is still generated, but the link is invalid and leads to 404 error as the bundled file is no longer copied to the output.