scaffold template for index