Domain variables

It is possible to define key/value simple variables at domain level

1 - Go to the domain section (see screenshot on how to access it with the quicklink from your website)

2 - Go to the tab "Settings"

3 - By clicking on the button "ADD" you can add new "key" / "value"

In the future, some keys will be created by default (without value)

Then to use it from the theme, use the syntax: {{website.domain.setting-key}}

For example if the key is TEST_SEED use {{website.domain.setting-TEST_SEED}} and it will be replaced by the value in the HTML

Last updated