Adds TOC (table of contents) generation!

Just use `{%= toc %}` wherever you want the TOC to go.