summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/components/toc/toc.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/git-wiki/components/toc/toc.html')
-rw-r--r--_includes/git-wiki/components/toc/toc.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/_includes/git-wiki/components/toc/toc.html b/_includes/git-wiki/components/toc/toc.html
new file mode 100644
index 0000000..c354b42
--- /dev/null
+++ b/_includes/git-wiki/components/toc/toc.html
@@ -0,0 +1,12 @@
+{% if site.inc_before_toc %}
+{% include {{ site.inc_before_toc }} %}
+{% endif %}
+
+<div>
+ <p>Contents:</p>
+ {% include git-wiki/components/toc/toc-lib.html html=content sanitize=true class="inline_toc" id="git-wiki-toc" h_min=1 h_max=3 ordered=1 %}
+</div>
+
+{% if site.inc_after_toc %}
+{% include {{ site.inc_after_toc }} %}
+{% endif %}