A Table of Contents plugin for DocPad
Simply define your Table of Contents in the plugins section of your project's
Once your Table of Contents is defined, then insert the html tag <toc:frontmatter> where you want the table of contents to appear. The tag will be replaced with fully rendered html. This can be changed to any pattern by setting the "regex" plugin variable.