You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a question, feature request, or anything other than a bug report directly related to Wowchemy. Please post those things on Discord: https://discord.gg/z8wNYzb
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:
ERROR 2022/12/17 11:55:43 Unable to load gallery `media/albums/DEMO/*` in `/home/runner/work/wowchemy-md-album-bug/wowchemy-md-album-bug/content/home/markdown.md`.
Error: Error building site: logged 1 error(s)
Total in 5643 ms
Error: Process completed with exit code 255.
hugo: downloading modules …
hugo: collected modules in 5176 ms
Start building sites …
hugo v0.108.0-a0d64a46e36dd2f503bfd5ba1a5807b900df231d+extended linux/amd64 BuildDate=2022-12-06T13:37:56Z VendorInfo=gohugoio
ERROR 2022/12/17 11:55:43 Unable to load gallery `media/albums/Demo/*` in `/home/runner/work/wowchemy-md-album-bug/wowchemy-md-album-bug/content/home/markdown.md`.
Error: Error building site: logged 1 error(s)
Total in 5643 ms
Error: Process completed with exit code 255.
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
The text was updated successfully, but these errors were encountered: