modify layout to partials templating