diff options
author | Joey Hess <joey@kitenet.net> | 2008-03-20 17:02:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-03-20 17:02:59 -0400 |
commit | da7aad08e354a621b4b983dd2f76ac02e2c35527 (patch) | |
tree | b6f8a3f303ef7d46448af87d27e9b30314643ff5 /doc/plugins | |
parent | 8e2f7ec70f257d262f08877b3a17caafcf5184ce (diff) |
web commit by http://jblevins.org/: A note about the toc plugin and headers in templates
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/toc/discussion.mdwn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/plugins/toc/discussion.mdwn b/doc/plugins/toc/discussion.mdwn index 3d4c2b149..d1600c9ec 100644 --- a/doc/plugins/toc/discussion.mdwn +++ b/doc/plugins/toc/discussion.mdwn @@ -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]]
\ No newline at end of file +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]] |