aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/renderers/html/htmlPreprocessors.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 22856368..4ee67448 100644
--- a/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/core/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -43,7 +43,7 @@ object NavigationPageInstaller : PageNodeTransformer {
private fun visit(page: ContentPage): NavigationNode = NavigationNode(
page.name,
- page.dri,
+ page.dri.first(),
page.platforms(),
page.children.filterIsInstance<ContentPage>().map { visit(it) })
}