summaryrefslogtreecommitdiff
path: root/layouts/docs/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/docs/single.html')
-rw-r--r--layouts/docs/single.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
index a54943b..ee001c9 100644
--- a/layouts/docs/single.html
+++ b/layouts/docs/single.html
@@ -1 +1,9 @@
-{{ define "." }} {{ end }} \ No newline at end of file
+{{ define "main" }}
+<article class="markdown">
+ {{- .Content -}}
+</article>
+{{ end }}
+
+{{ define "toc" }}
+ {{ partial "docs/toc" . }}
+{{ end }}