Generate content for pages with no visible children
This commit is contained in:
@ -38,7 +38,7 @@ struct SiteGenerator {
|
||||
elementsToProcess.append(contentsOf: element.linkedElements)
|
||||
|
||||
processAllFiles(for: element)
|
||||
if !element.elements.isEmpty {
|
||||
if element.hasVisibleChildren {
|
||||
overviewGenerator.generate(section: element, language: language)
|
||||
} else {
|
||||
pageGenerator.generate(
|
||||
|
Reference in New Issue
Block a user