Change the structure of posts and add the table of contents