From a66783cef7766aea9137c09f753563b7a29cabe9 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 12 Jan 2020 19:20:51 +0100 Subject: Improved TOC Added title and minHeaders parameters --- _includes/git-wiki/components/toc/toc.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (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 index c354b42..7329f40 100644 --- a/_includes/git-wiki/components/toc/toc.html +++ b/_includes/git-wiki/components/toc/toc.html @@ -2,10 +2,7 @@ {% 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 %} -
+{% include git-wiki/components/toc/toc-lib.html title="Contents:" minHeaders=1 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 }} %} -- cgit