added index & detail .hmtl templates