From 76c251066fd34a26734bf1acdb1e041881e1c0af Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 25 Nov 2018 13:30:25 +0100 Subject: Refactor templates and partials --- layouts/docs/baseof.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'layouts/docs/baseof.html') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 0f951cd..805e060 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -28,21 +28,14 @@
{{ partial "docs/mobile-header" . }} -
- {{- .Content -}} -
+ {{ template "main" . }}
- {{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }} - {{ if and ($showToC) (.Page.TableOfContents) }} - - {{ end }} + {{ template "toc" . }} {{ partial "docs/inject/body" . }} {{ template "_internal/google_analytics_async.html" . }} - \ No newline at end of file + -- cgit v1.2.3