Replaces head partial with named yield