implement layouts and partials.