#157, Make docs template default for all pages

This commit is contained in:
Alex Shpak
2020-02-29 21:24:00 +01:00
parent 6ecc94ed2b
commit 4ee099e8cf
6 changed files with 6 additions and 47 deletions
+4 -2
View File
@@ -71,9 +71,11 @@
{{ end }}
{{ define "main" }}
{{ .Content }}
<article class="markdown">
{{- .Content -}}
</article>
{{ end }}
{{ define "toc" }}
{{ .TableOfContents }}
{{ partial "docs/toc" . }}
{{ end }}