Reduce duplication in views by a layout and partials