add layout and partials