add summary in index template