patch layout.html