supports html_head and html_tail config keys