Contains general information about the website and provides access to some website objects.
The current website is available as the website
variable in all rendering contexts.
Returns the title of the website.
Returns the website's public host name.
Returns the currency code of the website's main currency.
Example: USD
, EUR
, ...
Returns the sign of website's main currency.
Example: $
, €
, ...
Returns the CurrencyFormattingSettings object.
Rendering this object directly returns a JSON representation of the settings.
Example: const settings = {{ website.currency_formatting_settings }};
Returns the two-letter code of website’s default language.