diff options
Diffstat (limited to 'layouts/partials/docs/shared.html')
-rw-r--r-- | layouts/partials/docs/shared.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/docs/shared.html b/layouts/partials/docs/shared.html index f7ba182..91c71b6 100644 --- a/layouts/partials/docs/shared.html +++ b/layouts/partials/docs/shared.html @@ -3,9 +3,9 @@ {{- if .Pages -}} {{ $sections := split (trim .Dir "/") "/" }} {{ $title := index ($sections | last 1) 0 | humanize | title }} - {{- default .Title $title -}} + {{- default $title .Title -}} {{- else -}} {{ $title := .File | humanize | title }} - {{- default .Title $title -}} + {{- default $title .Title -}} {{- end -}} {{ end }} |