Adds reference links and sets up simple formatting to index page.