add foreach and forkvs clause for html template
update README.md