cncf / cncf.io

☁️♮🏛🚧 The CNCF.io WordPress website
https://cncf.io
MIT License
80 stars 37 forks source link

Get Hugo Previews and Production instances to behave correctly #824

Closed cjyabraham closed 5 months ago

cjyabraham commented 5 months ago

The hugo.IsProduction is resolving incorrectly for some (but not all) of the subsite preview instances. We should fix this because we don't want GTM to be deployed on preview instances. We should standardize the netlify config so that they all work correctly and are consistent with each other. Some info on netlify config here.