diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-16 18:45:55 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-16 18:45:55 +0100 |
commit | 4591cbccbe3bd0afb9c89471c4753a7be80818d0 (patch) | |
tree | 48a72393770d090b82c57db7df69843c8e1ef6dd /src/Formats/JekyllFormatService.kt | |
parent | 4b75751845b6d63a642cac1017ada30f2549bf14 (diff) | |
download | dokka-4591cbccbe3bd0afb9c89471c4753a7be80818d0.tar.gz dokka-4591cbccbe3bd0afb9c89471c4753a7be80818d0.tar.bz2 dokka-4591cbccbe3bd0afb9c89471c4753a7be80818d0.zip |
use same code for calculating page titles in HTML and Jekyll
Diffstat (limited to 'src/Formats/JekyllFormatService.kt')
-rw-r--r-- | src/Formats/JekyllFormatService.kt | 2 |
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 |