html layout refactoring into partials