summaryrefslogtreecommitdiffhomepage
path: root/examples/multilingual/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multilingual/config.toml')
-rw-r--r--examples/multilingual/config.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/examples/multilingual/config.toml b/examples/multilingual/config.toml
new file mode 100644
index 000000000..2c285f0e0
--- /dev/null
+++ b/examples/multilingual/config.toml
@@ -0,0 +1,39 @@
+baseURL = "http://example.com"
+
+defaultContentLanguage = "en"
+
+[taxonomies]
+group = "groups"
+
+[languages]
+[languages.en]
+weight = 0
+title = "My multilingual site"
+[[languages.en.menu.main]]
+url = "/home"
+name = "Home"
+weight = 0
+[[languages.en.menu.main]]
+url = "/news"
+name = "News"
+weight = 1
+[[languages.en.menu.main]]
+url = "/about"
+name = "About"
+weight = 2
+
+[languages.et]
+weight = 1
+title = "Minu mitmekeelne leht"
+[[languages.et.menu.main]]
+url = "/kodu"
+name = "Kodu"
+weight = 0
+[[languages.et.menu.main]]
+url = "/uudised"
+name = "Uudised"
+weight = 1
+[[languages.et.menu.main]]
+url = "/minust"
+name = "Minust"
+weight = 2