modifies layouts and partials