Conditional entry

Is there any way to have a conditional entry?

{{if eq .Env.NODE_ENV "development" }}

    https://test.example.local {
        ...
    }

{{end}}

I am trying to expose a particular entry in the development environment only.
The above code gives the error

Error during parsing: Unknown directive

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.