[html] Factor out head to its own include