template: html clean up