show summary in index.html
write