aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 9db0f2a8..787f2b69 100644
--- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -45,7 +45,11 @@ object NavigationPageInstaller : PageTransformer {
page.name,
page.dri.first(),
page.platforms(),
- page.children.filterIsInstance<ContentPage>().map { visit(it) })
+ if (page !is ClasslikePageNode)
+ page.children.filterIsInstance<ContentPage>().map { visit(it) }
+ else
+ emptyList()
+ )
}
object ResourceInstaller : PageTransformer {