added a minus to jinja template to make the generated  html go from 1600 lines to 150