extract partials from layout