forked from codeforamerica/ohana-web-search
/
settings.yml
423 lines (393 loc) · 13.4 KB
/
settings.yml
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
# Please maintain alphabetical order for the top-level settings.
# This makes it easier to find a particular section in this file.
# Note that any changes to this file will need an app restart to
# take effect.
#
#
##########################
#
# ADMIN SITE SETTINGS
#
##########################
# When viewing the details page for a location, there is an 'Edit' link
# at the bottom of the page that takes you to the corresponding location
# in the admin interface. Below, specify the URL for your Admin site.
admin_site: https://admin.smc-connect.org
##########################
#
# FEEDBACK EMAIL SETTINGS
#
##########################
#
# In the feedback_email section, you can add one or more email
# addresses (one per line) that should receive messages submitted
# by users who filled out the Feedback form. You can access the form
# by clicking the 'Feedback' link at the top right of the site.
#
# Make sure to change the email address below to your own,
# otherwise you won't receive any feedback emails.
feedback_email:
to:
- ohanapi@codeforamerica.org
- echan@co.sanmateo.ca.us
- everducci@co.sanmateo.ca.us
##########################
#
# HOMEPAGE LINKS SETTINGS
#
##########################
#
# In the homepage_links section below, you can customize the
# text for the header and links that appear on the bottom half
# of the home page. There are two type of links, "general" and
# "emergency", which correspond to the two "boxes" on the homepage.
#
# To edit the header for each group of links, change the text of
# the keys that are indented below the "general:" or "emergency:" key.
# When we say "key", we refer to any entry in this file that ends with a colon.
# The items under the header key correspond to the text of the links
# under each header.
#
# Clicking a link on the homepage will perform a search for the full
# text of the link, unless the text contains words in parentheses, or
# two words separated by a slash. In those cases, a search will be
# performed for the first word only. For example, clicking on a
# "SNAP (Food Stamps)" or "SNAP/Food Stamps" link will search for "SNAP".
# Keep this in mind when editing or adding link text below.
#
# To add or replace a group of links, indent them below the "general:"
# and/or "emergency:" key. For example, to add a new group of general
# links, you would follow this format:
#
# general:
# Header Text for New Group:
# - text for link 1
# - text for link 2
homepage_links:
general:
Government Assistance:
- CalFresh/Food Stamps
- Health Insurance
- Medi-Cal
- Medicare
- Veterans
- 'WIC (Women, Infants, & Children)'
Children, Teens, & Families:
- Abuse Prevention
- Child Care
- Counseling
- Mentoring Programs
- Youth Development
emergency:
Emergency:
- Psychiatric Emergency
- Emergency Food
- Emergency Shelter
Reporting:
- Child Abuse
- Domestic Violence
####################
#
# INFO BOX SETTINGS
#
####################
#
# In this section, you can define the content for informational boxes that
# will appear at the top of the search results page whenever someone searches
# for a specific keyword or phrase that you define below.
# For example, if someone searches for "food stamps," you might want to display
# information about the federal SNAP program.
#
# To define a new info box, add a new entry indented under "info_box_terms:"
# using this format:
#
# info_box_terms:
# short_name_for_your_info_box:
# synonyms:
# - synonym1
# - synonym2
# - synonym3
# title: title for this info box
# description:
# description for this this info box
# url: website that provides more info
#
# Once you define an info box, all fields are required except for the url.
#
# The name for your info box can be whatever you want. We recommend
# keeping it short and memorable, and making it all lowercase with
# underscores to separate words to keep it more readable.
#
# The synonyms are all the words, phrases, and acronyms that should
# trigger the info box. They must all be lowercase.
#
# The title and description are self-explanatory. On the website,
# the title will appear in bold above the description.
#
# If you provide an url, the "More info..." link in the info box
# will point to it.
#
# To see an info box in action, go to http://ohana-web-search-demo.herokuapp.com
# and search for "wic".
#
# By default, all info boxes use the same HTML template that looks like this:
# <dl>
# <dt>title_of_info_box</dt>
# <dd>info_box_description</dd>
# <p>
# <a href="info_box_url" target="_blank">More info...</a>
# </p>
# </dl>
# This HTML is generated by the "render_info_box" method in
# app/helpers/info_box_helper.rb.
#
# If you would like to use a custom template for a particular info box,
# you can create the HTML for it in a partial in the
# "app/views/component/info_box/" directory. The partial must begin with
# an underscore.
# See app/view/component/info_box/_example_custom_template.html.haml for
# and example of a custom template.
#
# Once the template is created, you can assign it to an info box via the
# "custom:" field. An info box that uses a custom template only needs
# the "synonyms:" and "custom:" fields because you would be entering all
# the text directly in the custom template. The value of the "custom:" field
# should be the path to the partial, starting with "component", but without
# the underscore in the partial name. For example, to set up an info box that
# points to "_example_custom_template.html.haml", do this:
#
# info_box_terms:
# custom_info_box:
# synonyms:
# - health care reform
# - aca
# custom: component/info_box/example_custom_template
info_box_terms:
calfresh:
synonyms:
- snap
- food stamps
- calfresh
title: CalFresh
description:
'Known federally as SNAP (Supplemental Nutrition Assistance Program),
CalFresh offers nutrition assistance to eligible,
low income individuals and families and provides economic benefits to communities.'
url: http://www.calfresh.ca.gov
market_match:
synonyms:
- market match
title: Market Match
description:
"Market Match offers farmers’ market customers an extra $5 when they spend at
least $10 on their CalFresh EBT card at participating farmer's markets."
url: http://www.pcfma.com/pcfma_marketmatch.php
sfmnp:
synonyms:
- sfmnp
- senior farmers' market nutrition program
- senior farmers market nutrition program
- food vouchers for seniors
- food vouchers
title: Senior Farmers' Market Nutrition Program
description:
"Senior Farmers' Market Nutrition Program (SFMNP)
provides low-income seniors with coupons that can be exchanged for eligible
foods at farmers' markets, roadside stands, and community-supported
agriculture programs."
url: http://www.fns.usda.gov/sfmnp
snap:
synonyms:
- snap
- food stamps
- calfresh
title: SNAP
description: >
Supplemental Nutrition Assistance Program offers nutrition assistance to
eligible, low-income individuals and families, and provides economic
benefits to communities.
url: http://www.fns.usda.gov/snap/
veterans:
synonyms:
- veterans
- 'american legion'
- 'american legions'
title: Veterans
description: >
For additional information on local American Legions and organizations
supporting Veterans in San Mateo County, please click the "More info" link below.
url: http://hsa.smcgov.org/sites/hsa.smcgov.org/files/Veteran%20Service%20Organizations%20in%20SMC.pdf
wic:
synonyms:
- wic
- 'women, infants, and children'
- 'women, infants, & children'
- assistance for mothers
title: 'Women, Infants, and Children'
description:
'Women, Infants, and Children (WIC)
provides assistance for low-income pregnant, breastfeeding, and
non-breastfeeding postpartum women, and to eligible infants and
children up to age 5.'
url: http://www.fns.usda.gov/wic
custom_info_box:
synonyms:
- health care reform
- aca
custom: component/info_box/health_care_reform_template
###################################################################
#
# LANGUAGE TRANSLATION LINKS SETTINGS
#
###################################################################
# This represents the most common languages in your community.
# The languages will appear at the top of the home page, and
# clicking on each language will translate the text on the entire
# site into that language using Google Translate.
# The format should be 'Language: code', as shown below.
# To see a list of all supported languages and codes, read the
# "Language reference" section in the Google Translate documentation:
# https://cloud.google.com/translate/v2/translate-reference#supported_languages
# If you do not wish to include any language translation links,
# comment out or delete all of the language settings shown.
language_links:
- 'English: en'
- 'Español: es'
- 'Tagalog: tl'
- '中文: zh-CN'
- 'العربية: ar'
- 'Русский: ru'
######################
#
# SITE LOGO SETTINGS
#
######################
#
# This setting defines the filename for the site logo, which should be placed
# in the 'app/assets/images' directory. The site logo is the one that appears
# in the top left corner of the site.
site_logo: app_logo.png
######################
#
# SITE TITLE SETTINGS
#
######################
#
# This setting defines the HTML title for the site.
# It's the text that the browser displays at the top of the window or tab,
# and the text that the browser uses when saving a bookmark for this site.
#
# When viewing a page other than the homepage, this site title gets appended
# to the end of the page title. For example, if you were viewing the page for
# a location called "Health Insurance TeleCenter", the browser would display
# "Health Insurance TeleCenter | Ohana Web Search" as the page title.
site_title: SMC-Connect
###########################
#
# PHONE EXTENSION SETTING
#
###########################
#
# Defines the delimiter used for prefixing the phone extension field on the
# location details page. The extension appears after a phone number when
# present in the source dataset.
# Extensions are typically prefixed with 'Ext.', 'extension', or 'x'.
# To just provide a space between the phone number and extension leave this
# value blank or comment out the setting.
phone_extension_delimiter: x
###########################################
#
# SETTINGS FOR TESTS. PLEASE DO NOT MODIFY.
#
###########################################
test:
admin_site: http://admin.smc-connect.org
feedback_email:
to:
- ohanapi@codeforamerica.org
- echan@co.sanmateo.ca.us
- everducci@co.sanmateo.ca.us
homepage_links:
general:
Government Assistance:
- CalFresh
- Health Insurance
emergency:
Reporting:
- Domestic Violence
info_box_terms:
calfresh:
synonyms:
- snap
- food stamps
- calfresh
title: CalFresh
description:
'Known federally as SNAP (Supplemental Nutrition Assistance Program),
CalFresh offers nutrition assistance to eligible,
low income individuals and families and provides economic benefits to communities.'
url: http://www.calfresh.ca.gov
custom_info_box:
synonyms:
- health care reform
- aca
custom: component/info_box/health_care_reform_template
market_match:
synonyms:
- market match
title: Market Match
description:
"Market Match offers farmers’ market customers an extra $5 when they spend at
least $10 on their CalFresh EBT card at participating farmer's markets."
url: http://www.pcfma.com/pcfma_marketmatch.php
sfmnp:
synonyms:
- sfmnp
- senior farmers' market nutrition program
- senior farmers market nutrition program
- food vouchers for seniors
- food vouchers
title: Senior Farmers' Market Nutrition Program
description:
"Senior Farmers' Market Nutrition Program (SFMNP)
provides low-income seniors with coupons that can be exchanged for eligible
foods at farmers' markets, roadside stands, and community-supported
agriculture programs."
url: http://www.fns.usda.gov/sfmnp
snap:
synonyms:
- snap
- food stamps
- calfresh
title: SNAP
description: >
Supplemental Nutrition Assistance Program offers nutrition assistance to
eligible, low-income individuals and families, and provides economic
benefits to communities.
url: http://www.fns.usda.gov/snap/
wic:
synonyms:
- wic
- 'women, infants, and children'
- 'women, infants, & children'
- assistance for mothers
title: 'Women, Infants, and Children'
description:
'Women, Infants, and Children (WIC)
provides assistance for low-income pregnant, breastfeeding, and
non-breastfeeding postpartum women, and to eligible infants and
children up to age 5.'
url: http://www.fns.usda.gov/wic
zoo:
synonyms:
- zoo
title: SMC Zoo
description: Bees and birds and flowers
language_links:
- 'English: en'
- 'Español: es'
- 'Tagalog: tl'
- '中文: zh-CN'
- 'العربية: ar'
- 'Русский: ru'
site_title: SMC-Connect