summaryrefslogtreecommitdiff
path: root/layouts/docs/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/docs/baseof.html')
-rw-r--r--layouts/docs/baseof.html13
1 files changed, 3 insertions, 10 deletions
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 @@
<div class="book-page">
{{ partial "docs/mobile-header" . }}
- <article class="markdown">
- {{- .Content -}}
- </article>
+ {{ template "main" . }}
</div>
- {{ $showToC := default (default true .Site.Params.BookShowToC) .Params.bookshowtoc }}
- {{ if and ($showToC) (.Page.TableOfContents) }}
- <aside class="book-toc fixed">
- {{ partial "docs/toc" . }}
- </aside>
- {{ end }}
+ {{ template "toc" . }}
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</main>
</body>
-</html> \ No newline at end of file
+</html>