Hey all. We have two separate projects, both running Hugo. I would like to import one as a git submodule and then symlink the content from the submodule into a specific content directory in the parent.
e.g. parent > content > demos —> submodule > content
So navigating to localhost/demos would load the content from the submodule.
Hey @bep, thanks for that. I’ve just had a thought, would this be possible:
Import the submodule directly into the theme folder
Set the theme to be the new sub module
Have a content directory in both the root and the theme
If the content folder e.g. demos is found in the theme this is loaded
If the content folder e.g. about is found in the root this is loaded
I guess my question is does Hugo look for a content directory first in the theme and then in the root? Can we have multiple content directories? Sorry I’m new to themes, we haven’t used them to date.