added html minification to the templates