aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/title.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/docs/title.html b/layouts/partials/docs/title.html
index a37ac7a..83df5b6 100644
--- a/layouts/partials/docs/title.html
+++ b/layouts/partials/docs/title.html
@@ -4,7 +4,9 @@
-->
{{ $title := "" }}
-{{ if .Title }}
+{{ if .LinkTitle }}
+ {{ $title = .LinkTitle }}
+{{ else if .Title }}
{{ $title = .Title }}
{{ else if and .IsSection .File }}
{{ $title = path.Base .File.Dir | humanize | title }}