diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-17 18:29:36 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-17 18:29:36 +0200 |
commit | 561659ed53a1eb1e7583513af5fa2faba55fca7e (patch) | |
tree | a43ff90df5e613d0be23010df7abdd0666c7020f /layouts/docs | |
parent | 0dec1cd3a8845fa81a0c88d10e6b5597701d6c1e (diff) |
Improve page title handling and side menu templates
Diffstat (limited to 'layouts/docs')
-rw-r--r-- | layouts/docs/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index a71bd59..4119888 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -1,9 +1,9 @@ <!DOCTYPE html> +<!-- {{ partial "docs/shared" }} --> <html> <head> {{ partial "docs/html-head" . }} {{ partial "docs/inject/head" . }} - <title>{{ block "title" . }} {{- .Site.Title -}} {{ end }}</title> </head> <body> @@ -27,7 +27,7 @@ <div class="pure-g"> <div class="pure-u book-page markdown"> - {{ block "main" . }} {{- .Content -}} {{ end }} + {{- .Content -}} </div> {{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} {{ if and ($showToC) (.Page.TableOfContents) }} |