forked from medic/cht-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
199 lines (157 loc) · 4.32 KB
/
hugo.toml
File metadata and controls
199 lines (157 loc) · 4.32 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
baseURL = "https://docs.communityhealthtoolkit.org/"
title = "Community Health Toolkit"
refLinksErrorLevel = "ERROR"
# Will give values to .Lastmod etc.
enableGitInfo = true
enableEmoji = true
hasCJKLanguage = true
enableRobotsTXT = false
enableInlineShortcodes = true
# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true
[module]
proxy = "direct"
# uncomment line below for temporary local development of module
# replacements = "github.com/imfing/hextra -> ../../hextra"
[module.hugoVersion]
extended = true
[[module.imports]]
path = "github.com/imfing/hextra"
disable = false
[privacy.youtube]
privacyEnhanced = true
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
noClasses = false
[[menu.main]]
name = "Search"
weight = 4
[menu.main.params]
type = "search"
[[menu.main]]
name = "GitHub"
weight = 5
url = "https://github.com/medic"
[menu.main.params]
icon = "github"
[[menu.main]]
name = "Website"
weight = 6
url = "https://communityhealthtoolkit.org/"
[menu.main.params]
icon = "globe-alt"
[[menu.sidebar]]
identifier = "more"
name = "More"
weight = 1
[menu.sidebar.params]
type = "separator"
[[menu.sidebar]]
identifier = "docs"
name = "Create Docs Issue ↗"
url = "https://github.com/medic/cht-docs/issues/new"
weight = 2
[[menu.sidebar]]
identifier = "forum"
name = "CHT Forum"
url = "https://forum.communityhealthtoolkit.org/"
weight = 3
[[menu.sidebar]]
identifier = "academy"
name = "CHT Academy"
url = "https://academy.communityhealthtoolkit.org/"
weight = 4
[[menu.sidebar]]
identifier = "privacyPolicy"
name = "Privacy Policy ↗"
url = "https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
weight = 5
# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"
[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
id = "G-98W4V2NTPJ"
# Language configuration
[languages]
[languages.en.params]
title = "Community Health Toolkit"
description = "Digital health initiatives in the hardest-to-reach areas"
languageName ="English"
# Weight used for sorting.
weight = 1
# [languages.fr]
# title = "Community Health Toolkit"
# description = "Technologie open source pour un nouveau modèle de santé qui touche tout le monde."
# languageName ="Français"
# contentDir = "content/fr"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
# Everything below this are Site Params
[params]
displayUpdatedDate = true
copyright = "CHT"
privacy_policy = "https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
nodeVersion = "22"
npmVersion = "10"
# Custom shortcodes and partial will error on broken references unless set to "WARNING"
linkErrorLevel = "ERROR"
# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]
github_repo = "https://github.com/medic/cht-docs"
# Google Custom Search Engine ID. Remove or comment out to disable search.
gcs_engine_id = "004290134484316368579:gvcrxmetz4s"
[Home]
RelPermalink= "communityhealthtoolkit.org"
[related]
includeNewer = true
toLower = false
[[related.indices]]
name = "keywords"
weight = 1
[security.exec]
# To work with asdf, ref https://github.com/gohugoio/hugo/issues/9811
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|HOME|ASDF_DIR)$']
[params.navbar]
displayTitle = false
displayLogo = true
width = "wide"
[params.navbar.logo]
path = "icons/logo.svg"
dark = "icons/logo-dark.svg"
width = 275
[params.page]
width = "normal"
[params.theme]
default = "system"
displayToggle = true
[params.footer]
enable = true
displayCopyright = true
displayPoweredBy = false
width = "normal"
[params.search]
enable = true
type = "flexsearch"
[params.search.flexsearch]
index = "content"
tokenize = "forward"
[params.editURL]
enable = true
base = "https://github.com/medic/cht-docs/edit/main/content"
[params.highlight.copy]
enable = true
display = "hover"
[params.comments]
enable = false
type = "giscus"