Fixed JS/CSS pathing (now that everything lives inside /pages), added page-variable titles, and added a table of contents in pages/index.