Index page of Page Bundle A.
Link to Leaf Bundle B Link to Branch Bundle C Link to images not in the current directory # Source path contains /static/ # When path contains /static/, the path translations are the exact same as those for non-bundle cases.
More details
Source path contains the bundle name # See this other test for examples.
Inside <ORG_FILE_DIR> Copied-to location inside BUNDLE Explanation <ORG_FILE_DIR>/bar/<BUNDLE>/baz/foo.png <HUGO_BASE_DIR>/content/<SECTION>/<BUNDLE>/baz/foo.png If the file directory path contains "/<BUNDLE>/", the directory structure following that "/<BUNDLE>/" is preserved.
In this case, both HUGO_SECTION and HUGO_BUNDLE values will be
/.
So the images to be copied to the home page branch bundle i.e. the
content/ dir must be placed in a special _home/ directory. Here
are some examples:
Inside <ORG_FILE_DIR>
Copied-to location inside BUNDLE
Explanation
<ORG_FILE_DIR>/bar/_home/baz/foo.png
<HUGO_BASE_DIR>/content/baz/foo.png
If the page is the home page branch bundle, and the file directory path contains "/_home/", the directory structure following that "/_home/" is preserved.
<ORG_FILE_DIR>/bar/_home/foo.png
<HUGO_BASE_DIR>/content/foo.png
Source path contains neither /static/ nor the bundle name#