Fixed some permalink issues
Made permalinking actually work