]> scripts.mit.edu Git - www/ikiwiki.git/blob - doc/plugins/toc/discussion.mdwn
web commit by http://jblevins.org/: A note about the toc plugin and headers in templates
[www/ikiwiki.git] / doc / plugins / toc / discussion.mdwn
1 If you are using the sidebar plugin and have a header in the sidebar it shows up in the table of contents.  I can see why this happens but it surprised me and wasn't the desired effect in my specific situation. -- [[AdamShand]]
2
3 A related side effect: If you use any sort of headers in the page
4 template (such as placing the page title in an `<h1>`), the toc plugin
5 picks it up.  I suppose it parses the entire page rather than just the
6 rendered content. --[[JasonBlevins]]