Skip to content

Adding images to your doc posts #207

Discussion options

You must be logged in to vote

https://discourse.gohugo.io/t/how-to-access-resources-from-pages-within-a-branch-bundle/28772

branch-bundle/branch-page.md cannot have page resources because it is not a page bundle. It cannot see branch-bundle/image.png because this image page resource belongs to branch-bundle/_index.md.

so you have

branch-bundle
......._index.md
.......page-leaf-bundle
....... ....... index.md
....... ....... image.png

and the page-leaf-bundle index.md can pick up the image.png!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by james-s-w-clark
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants