add layout with partials