more html.tpl refinement for multiple layout possibilities