Settings

This section provides the definitive reference to all the settings in site.toml; see site settings for example usage.

Settings are defined as TOML 1 which uses the term table also called an object, map or dictionary. Language identifiers are Unicode Language Identfiers 2.

Minimum required settings are shown below:

lang = "en"
host = "example.com"

If you do not have a host name yet use localhost as a placeholder value.

These are the settings that can be defined at the top-level of site.toml:

For more settings see the relevant section:

Back to Reference

1

TOML is a language well suited to configuration as it is easy to read, write and parse and supports comments unlike other alternatives such as JSON.

2

Languages must be identified using Unicode Language Identfiers.