aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 9222a59..61c2130 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -10,3 +10,7 @@
{{- .Content -}}
</article>
{{ end }}
+
+{{ define "toc" }}
+ {{ partial "docs/toc" . }}
+{{ end }}