Write in index template