Index file now is used along the template.