Closed old6ix closed 1 year ago
Have you seen the Gallery docs at https://wowchemy.com/docs/content/writing-markdown-latex/#image-gallery ?
The Gallery docs state:
Album names must be lowercase due to a Hugo bug - consider up-voting the bug with a 👍
If you want to fix the bug in Hugo, you can submit a PR to the Hugo repo on Github: https://github.com/gohugoio/hugo/
Preliminary Checks
Description
Markdown block has a shortcode called
gallery
. Its usage just like this:It usually works well. However, when path of an album contains capital letter, for example
assets/media/albums/DEMO
relative to project root, this statement will get an error like this during building:Reproduction Link
https://github.com/jiabh/wowchemy-md-album-bug/
Steps to Reproduce
https://github.com/jiabh/wowchemy-md-album-bug/commit/ae238d45b69471c2ccc44ab2fbe930b85e8377d5
hugo
to build.Expected Result
Build successfully, same as it was in lower case:
https://github.com/jiabh/wowchemy-md-album-bug/actions/runs/3719879953
Actual Result
Build failed with error
Unable to load gallery
.https://github.com/jiabh/wowchemy-md-album-bug/actions/runs/3719894716
What Hugo Module versions does your site use?
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
No response
Which Wowchemy template are you using?
starter-hugo-academic
What version of Hugo are you using?
Hugo Extended 0.108.0