From a81a933ab806dabbc6720d98f470c6a5edcd9a15 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sat, 11 Jan 2020 23:45:58 +0100 Subject: implemented static TOC #57 Thanks to @vzickus for the suggestion --- _includes/git-wiki/components/toc/toc.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _includes/git-wiki/components/toc/toc.html (limited to '_includes/git-wiki/components/toc/toc.html') 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 %} + +
+

Contents:

+ {% 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 %} +
+ +{% if site.inc_after_toc %} +{% include {{ site.inc_after_toc }} %} +{% endif %} -- cgit