clean up www
insert toc div automatically after #analysis h1
update gitignore
combine readLines and paste collapse for templates