One line this

    X-GearType={{ if .Isolate }}isolated{{ else }}simple{{ end }}