[HTML template] add halfspaced option