diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-02-29 21:24:00 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-02-29 21:24:00 +0100 |
commit | 4ee099e8cfac9c98dabc923a42a2dd1774fdb96f (patch) | |
tree | c98368dbdf3adb9ac2ea57359ff9809631c42560 /layouts/_default/baseof.html | |
parent | 6ecc94ed2bf6c7c3b89be7d2dffe47f5202988ea (diff) |
#157, Make docs template default for all pages
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 6 |
1 files changed, 4 insertions, 2 deletions
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 }} + <article class="markdown"> + {{- .Content -}} + </article> {{ end }} {{ define "toc" }} - {{ .TableOfContents }} + {{ partial "docs/toc" . }} {{ end }} |