Fixed issues with index template styling