In app, there is a “define global data” button, what it is use for ?
Is a a variable we can set for the whole site having same id ?
@Teodor, can you please shed some light on this? I too was wondering the same thing. Have started playing with NodeJS recently so have no idea what it does.
I did find that adding variables using Template Data button (for meta data), shows up under “Globals” heading when trying to use those variables.
Maybe there is a documentation on this ?
The documentation I found is only about the meta tags… template data that is.
Bump.
Still wondering if it has a use (now manually adding vars to use with EJS in the routes.json)
Reviving this topic, did anyone figure out the use of “define global data”?
Define template data seems to store its changes in routes.json whereas I am not able to see any change when adding a variable to “Define Global Data”.
This help?
Excellent! Very clear, thank you so much