-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include images from leaf bundle #54
Comments
I modified the shortcode so that it works for page bundles now. However, old function is lost by now. Please take a look.
I can create a suitable PR if we have an idea how to merge this one into master. However, guidance from more experienced Hugo users is needed here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When giving a directory to use for the gallery
{{< gallery dir="/img/your-directory-of-images/" />}}
thestatic
folder is assumed as root for the given parameter. However, when using leaf bundles, images and pages live in the same folder (or in a subfolder):Now, I don't see a way to use the images in the post's
img
folder to use as a gallery. As far as I understand the documentation, these images should be accessible as pages resources via.Resources
.I am new to Hugo and therefore not sure if this is really a missing feature or if I just don't see the solution in that case. I would appreciate some guidance here, so that I can see if I can modify shortcode for that case or if this is already supported.
The text was updated successfully, but these errors were encountered: