-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml
128 lines (111 loc) · 2.57 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
baseURL = 'https://ouisync.net/'
languageCode = 'en'
title = 'My New Hugo Site'
copyright = 'Everything is mine'
defaultContentLanguage = 'en'
[languages]
[languages.en]
title = 'Ouisync'
languageName = 'English'
contentDir = 'content/en'
languageDirection = 'ltr'
weight = 1
[languages.fr]
disabled = false
title = 'Ouisync (fr)'
languageDirection = 'ltr'
languageName = 'French'
contentDir = 'content/fr'
weight = 2
[languages.es]
disabled = false
title = 'Ouisync (es)'
languageDirection = 'ltr'
languageName = 'Spanish'
contentDir = 'content/es'
weight = 2
[languages.fa]
title = 'Ouisync (fa)'
languageDirection = 'rtl'
languageName = 'Persian'
contentDir = 'content/fa'
weight = 2
[languages.my]
disabled = true
title = 'Ouisync (my)'
languageDirection = 'ltr'
languageName = 'Burmese'
contentDir = 'content/my'
weight = 2
[languages.ru]
title = 'Ouisync (ru)'
languageDirection = 'ltr'
languageName = 'Russian'
contentDir = 'content/ru'
weight = 2
[languages.uk]
disabled = true
title = 'Ouisync (uk)'
languageDirection = 'ltr'
languageName = 'Ukrainian'
contentDir = 'content/uk'
weight = 2
# Configure mounts for fallback translation pages
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'en'
[[module.mounts]]
source = 'content/es'
target = 'content'
lang = 'es'
[[module.mounts]]
source = 'content/fa'
target = 'content'
lang = 'fa'
[[module.mounts]]
source = 'content/fr'
target = 'content'
lang = 'fr'
[[module.mounts]]
source = 'content/my'
target = 'content'
lang = 'my'
[[module.mounts]]
source = 'content/ru'
target = 'content'
lang = 'ru'
[[module.mounts]]
source = 'content/uk'
target = 'content'
lang = 'uk'
# This fills in the gaps in translated content with EN content.
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'es'
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'fa'
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'fr'
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'my'
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'ru'
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'uk'
# So we can use normal HTML inside of .md files
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true