From 14cec251c4ea7518ad9c8f576c5cf05cfa656806 Mon Sep 17 00:00:00 2001 From: Shawn O'Hare Date: Thu, 14 Jan 2016 20:41:44 -0800 Subject: [PATCH] Add table of contents partial template. --- layouts/partials/toc.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/partials/toc.html diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html new file mode 100644 index 0000000..8fd4d1a --- /dev/null +++ b/layouts/partials/toc.html @@ -0,0 +1,8 @@ +{{ if .Params.toc }} +
+
+ Contents + {{ .TableOfContents }} +
+
+{{ end }}