aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/toc_displays_headings_from_sidebar.mdwn
diff options
context:
space:
mode:
authorJoshTriplett <JoshTriplett@web>2013-01-03 14:56:07 -0400
committeradmin <admin@branchable.com>2013-01-03 14:56:07 -0400
commitc635611232130bef9a66b7ad9734ba5f0523d4c2 (patch)
treebb32d2376463d555ac18ab434cc9c07eb92b893b /doc/bugs/toc_displays_headings_from_sidebar.mdwn
parentb18d621873c1c3d07a9c0813d19fe12213a44339 (diff)
downloadikiwiki-c635611232130bef9a66b7ad9734ba5f0523d4c2.tar
ikiwiki-c635611232130bef9a66b7ad9734ba5f0523d4c2.tar.gz
Diffstat (limited to 'doc/bugs/toc_displays_headings_from_sidebar.mdwn')
-rw-r--r--doc/bugs/toc_displays_headings_from_sidebar.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/bugs/toc_displays_headings_from_sidebar.mdwn b/doc/bugs/toc_displays_headings_from_sidebar.mdwn
new file mode 100644
index 000000000..469ca8a33
--- /dev/null
+++ b/doc/bugs/toc_displays_headings_from_sidebar.mdwn
@@ -0,0 +1,3 @@
+The [[/ikiwiki/directive/toc]] directive scrapes all headings from the page, including those in the sidebar. So, if the sidebar includes navigational headers, every page with a table of contents will display those navigational headers before the headers in that page's content.
+
+I'd like some way to exclude the sidebar from the table of contents. As discussed via Jabber, perhaps toc could have a config option to ignore headers inside a nav tag or a tag with id="sidebar".