From 561659ed53a1eb1e7583513af5fa2faba55fca7e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 17 Sep 2018 18:29:36 +0200 Subject: Improve page title handling and side menu templates --- layouts/docs/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/docs') 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 @@ + {{ partial "docs/html-head" . }} {{ partial "docs/inject/head" . }} - {{ block "title" . }} {{- .Site.Title -}} {{ end }} @@ -27,7 +27,7 @@
- {{ block "main" . }} {{- .Content -}} {{ end }} + {{- .Content -}}
{{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} {{ if and ($showToC) (.Page.TableOfContents) }} -- cgit v1.2.3