@@ -22,178 +22,182 @@ enableMissingTranslationPlaceholders = true
2222 proxy = " direct"
2323 # uncomment line below for temporary local development of module
2424 # replacements = "github.com/imfing/hextra -> ../../hextra"
25+
2526 [module .hugoVersion ]
2627 extended = true
28+
2729 [[module .imports ]]
2830 path = " github.com/imfing/hextra"
2931 disable = false
3032
31- [privacy .youtube ]
32- privacyEnhanced = true
33+ [privacy ]
34+ [privacy .youtube ]
35+ privacyEnhanced = true
3336
3437[markup ]
3538 [markup .goldmark ]
3639 [markup .goldmark .renderer ]
3740 unsafe = true
41+
3842 [markup .highlight ]
39- noClasses = false
43+ noClasses = false
4044
4145[[menu .main ]]
42- name = " Search"
43- weight = 4
44-
46+ name = " Search"
47+ weight = 4
48+
4549 [menu .main .params ]
46- type = " search"
50+ type = " search"
4751
4852[[menu .main ]]
49- name = " GitHub"
50- weight = 5
51- url = " https://github.com/medic"
52-
53+ name = " GitHub"
54+ weight = 5
55+ url = " https://github.com/medic"
56+
5357 [menu .main .params ]
54- icon = " github"
58+ icon = " github"
5559
5660[[menu .main ]]
57- name = " Website"
58- weight = 6
59- url = " https://communityhealthtoolkit.org/"
60-
61+ name = " Website"
62+ weight = 6
63+ url = " https://communityhealthtoolkit.org/"
64+
6165 [menu .main .params ]
62- icon = " globe-alt"
66+ icon = " globe-alt"
6367
6468[[menu .sidebar ]]
65- identifier = " more"
66- name = " More"
67- weight = 1
68-
69+ identifier = " more"
70+ name = " More"
71+ weight = 1
72+
6973 [menu .sidebar .params ]
70- type = " separator"
74+ type = " separator"
7175
7276[[menu .sidebar ]]
73- identifier = " docs"
74- name = " Create Docs Issue ↗"
75- url = " https://github.com/medic/cht-docs/issues/new"
76- weight = 2
77+ identifier = " docs"
78+ name = " Create Docs Issue ↗"
79+ url = " https://github.com/medic/cht-docs/issues/new"
80+ weight = 2
7781
7882[[menu .sidebar ]]
79- identifier = " forum"
80- name = " CHT Forum"
81- url = " https://forum.communityhealthtoolkit.org/"
82- weight = 3
83+ identifier = " forum"
84+ name = " CHT Forum"
85+ url = " https://forum.communityhealthtoolkit.org/"
86+ weight = 3
8387
8488[[menu .sidebar ]]
85- identifier = " academy"
86- name = " CHT Academy"
87- url = " https://academy.communityhealthtoolkit.org/"
88- weight = 4
89+ identifier = " academy"
90+ name = " CHT Academy"
91+ url = " https://academy.communityhealthtoolkit.org/"
92+ weight = 4
8993
9094[[menu .sidebar ]]
91- identifier = " privacyPolicy"
92- name = " Privacy Policy ↗"
93- url = " https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
94- weight = 5
95+ identifier = " privacyPolicy"
96+ name = " Privacy Policy ↗"
97+ url = " https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
98+ weight = 5
9599
96100# Image processing configuration.
97101[imaging ]
98- resampleFilter = " CatmullRom"
99- quality = 75
100- anchor = " smart"
102+ resampleFilter = " CatmullRom"
103+ quality = 75
104+ anchor = " smart"
101105
102106[services ]
103- [services .googleAnalytics ]
104- # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
105- id = " G-98W4V2NTPJ"
107+ [services .googleAnalytics ]
108+ # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
109+ id = " G-98W4V2NTPJ"
106110
107111# Language configuration
108-
109112[languages ]
110- [languages .en .params ]
111- title = " Community Health Toolkit"
112- description = " Digital health initiatives in the hardest-to-reach areas"
113- languageName =" English"
114- # Weight used for sorting.
115- weight = 1
116- # [languages.fr]
117- # title = "Community Health Toolkit"
118- # description = "Technologie open source pour un nouveau modèle de santé qui touche tout le monde."
119- # languageName ="Français"
120- # contentDir = "content/fr"
121- time_format_default = " 02.01.2006"
122- time_format_blog = " 02.01.2006"
123-
124- # Everything below this are Site Params
125-
126- [params ]
127- displayUpdatedDate = true
128- copyright = " CHT"
129- privacy_policy = " https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
130- nodeVersion = " 22"
131- npmVersion = " 10"
132-
133- # Custom shortcodes and partial will error on broken references unless set to "WARNING"
134- linkErrorLevel = " ERROR"
135-
136- # First one is picked as the Twitter card image if not set on page.
137- # images = ["images/project-illustration.png"]
138-
139- github_repo = " https://github.com/medic/cht-docs"
113+ [languages .en ]
114+ [languages .en .params ]
115+ title = " Community Health Toolkit"
116+ description = " Digital health initiatives in the hardest-to-reach areas"
117+ languageName = " English"
118+ # Weight used for sorting.
119+ weight = 1
120+ time_format_default = " 02.01.2006"
121+ time_format_blog = " 02.01.2006"
140122
141- # Google Custom Search Engine ID. Remove or comment out to disable search.
142- gcs_engine_id = " 004290134484316368579:gvcrxmetz4s "
143-
144- [ Home ]
145- RelPermalink = " communityhealthtoolkit.org "
123+ # [languages.fr]
124+ # title = "Community Health Toolkit "
125+ # description = "Technologie open source pour un nouveau modèle de santé qui touche tout le monde."
126+ # languageName = "Français"
127+ # contentDir = "content/fr "
146128
147129[related ]
148130 includeNewer = true
149131 toLower = false
150- [[related .indices ]]
132+
133+ [[related .indices ]]
151134 name = " keywords"
152135 weight = 1
153136
154- [security .exec ]
155- # To work with asdf, ref https://github.com/gohugoio/hugo/issues/9811
156- osEnv = [' (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|HOME|ASDF_DIR)$' ]
137+ [security ]
138+ [security .exec ]
139+ # To work with asdf, ref https://github.com/gohugoio/hugo/issues/9811
140+ osEnv = [' (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|HOME|ASDF_DIR)$' ]
157141
158- [params .navbar ]
159- displayTitle = false
160- displayLogo = true
161- width = " wide"
142+ # Output formats - REQUIRED FOR SEARCH
143+ [outputs ]
144+ home = [" HTML" ]
145+ page = [" HTML" ]
146+ section = [" HTML" , " RSS" ]
162147
148+ # Everything below this are Site Params
149+ [params ]
150+ displayUpdatedDate = true
151+ copyright = " CHT"
152+ privacy_policy = " https://docs.google.com/document/d/1MaI1rgYMNyCZF2eEjBuvnBDoCYHDKlx4k_N5pkDiWu8/edit?usp=sharing"
153+ nodeVersion = " 22"
154+ npmVersion = " 10"
155+
156+ # Custom shortcodes and partial will error on broken references unless set to "WARNING"
157+ linkErrorLevel = " ERROR"
158+
159+ github_repo = " https://github.com/medic/cht-docs"
160+
161+ [params .navbar ]
162+ displayTitle = false
163+ displayLogo = true
164+ width = " wide"
165+
163166 [params .navbar .logo ]
164- path = " icons/logo.svg"
165- dark = " icons/logo-dark.svg"
166- width = 275
167-
167+ path = " icons/logo.svg"
168+ dark = " icons/logo-dark.svg"
169+ width = 275
170+
168171 [params .page ]
169- width = " normal"
170-
172+ width = " normal"
173+
171174 [params .theme ]
172- default = " system"
173- displayToggle = true
174-
175+ default = " system"
176+ displayToggle = true
177+
175178 [params .footer ]
176- enable = true
177- displayCopyright = true
178- displayPoweredBy = false
179- width = " normal"
180-
179+ enable = true
180+ displayCopyright = true
181+ displayPoweredBy = false
182+ width = " normal"
183+
181184 [params .search ]
182- enable = true
183- type = " flexsearch"
184-
185+ enable = true
186+ type = " flexsearch"
187+
185188 [params .search .flexsearch ]
186- index = " content"
187- tokenize = " full "
188-
189+ index = " content"
190+ tokenize = " forward "
191+
189192 [params .editURL ]
190- enable = true
191- base = " https://github.com/medic/cht-docs/edit/main/content"
192-
193- [params .highlight .copy ]
194- enable = true
195- display = " hover"
196-
193+ enable = true
194+ base = " https://github.com/medic/cht-docs/edit/main/content"
195+
196+ [params .highlight ]
197+ [params .highlight .copy ]
198+ enable = true
199+ display = " hover"
200+
197201 [params .comments ]
198- enable = false
199- type = " giscus"
202+ enable = false
203+ type = " giscus"
0 commit comments