toc generator for static pages