Templated the index into a default template