diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2018-10-17 13:48:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-17 13:48:50 +0200 |
| commit | cf30d666a7a67d3634cb97c17de2f4927a15ea8a (patch) | |
| tree | c817fe23a0d138d1bc89a9c7850add541dc087a6 /_layouts | |
| parent | 268e104106644bb79d64c22c8cf49e6b7d2ad234 (diff) | |
| download | wiki-cf30d666a7a67d3634cb97c17de2f4927a15ea8a.tar.gz wiki-cf30d666a7a67d3634cb97c17de2f4927a15ea8a.tar.bz2 wiki-cf30d666a7a67d3634cb97c17de2f4927a15ea8a.zip | |
Some fixes for ToC component
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 5686706..824e4bd 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -135,7 +135,10 @@ <script type="text/javascript"> $(document).ready(function() { - $('#toc').toc({ title: '<i>Contents</i>'}); + $('#toc').toc({ + title: '<i>Contents</i>', + showSpeed: 0, + headers: '#content h1, #content h2, #content h3, #content h4, #content h5, #content h6' }); $(document.body).redLinks(); }); </script> |
