From 4ee099e8cfac9c98dabc923a42a2dd1774fdb96f Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 29 Feb 2020 21:24:00 +0100 Subject: #157, Make docs template default for all pages --- layouts/_default/baseof.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 042223c..3a374cf 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -71,9 +71,11 @@ {{ end }} {{ define "main" }} - {{ .Content }} +
+ {{- .Content -}} +
{{ end }} {{ define "toc" }} - {{ .TableOfContents }} + {{ partial "docs/toc" . }} {{ end }} -- cgit v1.2.3