Deployment targets template for robots exclusion

Hi there,

Say I have two deployment targets:

    - name: "test"
      URL: "s3://"
    - name: "prod"
      URL: "s3://"

How do I put in my template that if !prod deployment target, there should be a <meta name="robots" content="noindex" /> exclusion line?

Been searching around but can’t find the answer. Perhaps my Google-fu is weak.