web commit by http://jblevins.org/: A note about the toc plugin and headers in templates

master
Joey Hess 2008-03-20 17:02:59 -04:00
parent 8e2f7ec70f
commit da7aad08e3
1 changed files with 6 additions and 1 deletions

View File

@ -1 +1,6 @@
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]]
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]]
A related side effect: If you use any sort of headers in the page
template (such as placing the page title in an `<h1>`), the toc plugin
picks it up. I suppose it parses the entire page rather than just the
rendered content. --[[JasonBlevins]]