add table of contents to posts