Added index link, rearranged template tag ordering to allow for buttons.