Enable head tag attributes via config

The 'head' attributes set via config were used as html attributes