refactor layout w/ partials