Updated base template and index page