aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/JekyllFormatService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/JekyllFormatService.kt')
-rw-r--r--src/Formats/JekyllFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/JekyllFormatService.kt b/src/Formats/JekyllFormatService.kt
index 93861113..93ba4704 100644
--- a/src/Formats/JekyllFormatService.kt
+++ b/src/Formats/JekyllFormatService.kt
@@ -15,6 +15,6 @@ public open class JekyllFormatService(locationService: LocationService,
}
protected open fun appendFrontMatter(nodes: Iterable<DocumentationNode>, to: StringBuilder) {
- to.appendln("title: ${nodes.first().name}")
+ to.appendln("title: ${getPageTitle(nodes)}")
}
} \ No newline at end of file