router base and index page template