From e62448627edbfaea940b0f7995b9d4da481b3c3f Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 13 Sep 2018 18:07:55 +0200 Subject: Add README.md --- layouts/docs/baseof.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts/docs') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index f7e8477..a71bd59 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -29,7 +29,8 @@
{{ block "main" . }} {{- .Content -}} {{ end }}
- {{ if and (default true .Site.Params.BookShowTOC) (.Page.TableOfContents) }} + {{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} + {{ if and ($showToC) (.Page.TableOfContents) }}
{{ partial "docs/toc" . }}
-- cgit v1.2.3