title: Generate table of contents
linktitle: toc.py
parent: Plugins
+lang: en
ctime: 2010-06-23
+mtime: 2010-06-24
change: make get_toc() work like get_recently()
This plugin analyzes the HTML header statements (h1, h2, h3 ...) and
This again is done via a suitable [[template_mako]]. The template uses
the function "`get_toc()`" and returns (level, headline, slug) tuples.
-* "`level`" is the indendation level, starting with 0. You can use
+* "`level`" is the indentation level, starting with 0. You can use
this for CSS "`id=`" or "`class`" attributes
* "`headline`" is the headline (the text inside <hX>..</hX>)
* "`slug`" is the