seems to me like database setup has nothing to do with templates, probably an error in the hierarchical levvel setting - fixing this by setting some of the parts one level up
adjust markup
Merge pull request #2289 from henning/bugfix/doc-structure-correction

fix for issue #2288