aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/single/table-of-contents.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/single/table-of-contents.html')
-rw-r--r--layouts/partials/single/table-of-contents.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/single/table-of-contents.html b/layouts/partials/single/table-of-contents.html
new file mode 100644
index 0000000..b8489bc
--- /dev/null
+++ b/layouts/partials/single/table-of-contents.html
@@ -0,0 +1,6 @@
+{{ if and .TableOfContents .Params.tableOfContents }}
+ <aside class="table-of-contents">
+ <h2 class="title-small">{{ i18n "summary" }}</h2>
+ {{ .TableOfContents }}
+ </aside>
+{{ end }} \ No newline at end of file