move HTML into layouts