By setting ignoreConfig: true on the parent when “importing” the “content only” module, I would think Hugo would not import the “content module”'s own imports. Yet it does.
I’m not sure how to make sure how the “import tree” stops and the “content” module.
As I see it, it will be tempting for a lot of people to have their editor access a “content only repo” which imports a “code repo”. And dev will maintain that “code repo” importing the “content only repo”.
This is an appealing setup and use case which I think we should try and make possible by avoiding any recursive imports problems. Maybe adding a module setting which ignores its imports. ignoreImports ?
OK; so this is an old issue, but I was reading the docs and adding a test for a “related thing”, and I don’t see the behaviour described above. If you set ignoreConfig on an import I see no way for the transitive imports to ever get included.