summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/components/toc/toc.html
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2020-01-12 12:35:16 +0100
committerYehonal <yehonal.azeroth@gmail.com>2020-01-12 12:35:16 +0100
commitb52d6e28f0fdb22d8e0ba2e806527612ca11927d (patch)
treefa1fbf1b62d637d90d9941dcd0b863bd5fd5ad90 /_includes/git-wiki/components/toc/toc.html
parentfe71b57bcdf51fec4fc275d968b4377ca42b8528 (diff)
parent294bdf6c46c22e2b0ce470de8fdf41fe9bed90ea (diff)
downloadwiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.gz
wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.bz2
wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.zip
Merge branch 'master' of https://github.com/Drassil/git-wiki-theme
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 %}