I was wondering: how could I read a custom value, added in the configuration file, in one of the theme’s handlebars templates?
For example, let’s say I add a custom property named
isProduction = NODE_ENV === "production" in the configuration file. How could I display the value of
isProduction, from the configuration file, in my theme’s handlebars template?
Are there any calls to Ghost’s APIs that I could run in order to get that information? I am using Ghost v4.1.1.
Thank you so much!