Split templates into partials; DRY