diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 19:20:51 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 19:20:51 +0100 |
| commit | a66783cef7766aea9137c09f753563b7a29cabe9 (patch) | |
| tree | 0276ca2f546828bccb45318421013b0fc25512b3 /_includes/git-wiki/components/toc/toc.html | |
| parent | 69655922dc8fada82e347b4598c53b784e370e20 (diff) | |
| download | wiki-a66783cef7766aea9137c09f753563b7a29cabe9.tar.gz wiki-a66783cef7766aea9137c09f753563b7a29cabe9.tar.bz2 wiki-a66783cef7766aea9137c09f753563b7a29cabe9.zip | |
Improved TOC
Added title and minHeaders parameters
Diffstat (limited to '_includes/git-wiki/components/toc/toc.html')
| -rw-r--r-- | _includes/git-wiki/components/toc/toc.html | 5 |
1 files changed, 1 insertions, 4 deletions
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 %} -<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> +{% 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 }} %} |
