Add route for index page and fix active handle of posts page