sfc-utils 1.4.177 → 1.4.179

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/footer.js CHANGED
@@ -1,710 +1,884 @@
1
-
2
- let { getBrands } = require('./brands')
1
+ let { getBrands } = require("./brands");
3
2
 
4
3
  // Handle nav for various markets and include nav options for other links
5
- let getFooter = function(meta, forceColor){
6
-
7
- // If we aren't passing meta in, we have to call getSettings here
8
- if (!meta){
9
- let {getSettings} = require('./settings')
10
- meta = getSettings()
11
- }
4
+ let getFooter = function (meta, forceColor) {
5
+ // If we aren't passing meta in, we have to call getSettings here
6
+ if (!meta) {
7
+ let { getSettings } = require("./settings");
8
+ meta = getSettings();
9
+ }
12
10
 
13
- let year = new Date().getFullYear()
14
-
15
- let {attributes: {marketPrefix, invert}} = getBrands(meta.PROJECT.MARKET_KEY)
11
+ let year = new Date().getFullYear();
16
12
 
17
- // Handle various CT domains
18
- let eedition = "";
19
- if (typeof window !== "undefined"){
20
- switch(window.location.origin){
21
- case "https://www.ctpost.com": marketPrefix = "ct"; eedition = "CT_PO"; break;
22
- case "https://www.nhregister.com": marketPrefix = "nh"; eedition = "CT_NHR"; break;
23
- case "https://www.greenwichtime.com": marketPrefix = "gt"; eedition = "CT_GT"; break;
24
- case "https://www.stamfordadvocate.com": marketPrefix = "st"; eedition = "CT_AD"; break;
25
- case "https://www.thehour.com": marketPrefix = "th"; eedition = "CT_HR"; break;
26
- case "https://www.newstimes.com": marketPrefix = "nt"; eedition = "CT_NT"; break;
27
- case "https://www.middletownpress.com": marketPrefix = "mp"; eedition = "CT_MP"; break;
28
- case "https://www.ctinsider.com": marketPrefix = "in"; break;
13
+ let {
14
+ attributes: { marketPrefix, invert },
15
+ } = getBrands(meta.PROJECT.MARKET_KEY);
29
16
 
30
- case "https://www.beaumontenterprise.com":
31
- marketPrefix = "texcom/beau";
32
- break;
33
- case "https://www.lmtonline.com":
34
- marketPrefix = "texcom/laredo";
35
- break;
36
- case "https://www.mrt.com":
37
- marketPrefix = "texcom/mrt";
38
- break;
39
- case "https://www.myplainview.com":
40
- marketPrefix = "texcom/plain";
41
- break;
17
+ // Handle various CT domains
18
+ let eedition = "";
19
+ if (typeof window !== "undefined") {
20
+ switch (window.location.origin) {
21
+ case "https://www.ctpost.com":
22
+ marketPrefix = "ct";
23
+ eedition = "CT_PO";
24
+ break;
25
+ case "https://www.nhregister.com":
26
+ marketPrefix = "nh";
27
+ eedition = "CT_NHR";
28
+ break;
29
+ case "https://www.greenwichtime.com":
30
+ marketPrefix = "gt";
31
+ eedition = "CT_GT";
32
+ break;
33
+ case "https://www.stamfordadvocate.com":
34
+ marketPrefix = "st";
35
+ eedition = "CT_AD";
36
+ break;
37
+ case "https://www.thehour.com":
38
+ marketPrefix = "th";
39
+ eedition = "CT_HR";
40
+ break;
41
+ case "https://www.newstimes.com":
42
+ marketPrefix = "nt";
43
+ eedition = "CT_NT";
44
+ break;
45
+ case "https://www.middletownpress.com":
46
+ marketPrefix = "mp";
47
+ eedition = "CT_MP";
48
+ break;
49
+ case "https://www.ctinsider.com":
50
+ marketPrefix = "in";
51
+ break;
42
52
 
43
- case "https://www.bigrapidsnews.com":
44
- marketPrefix = "midcom/big";
45
- break;
46
- case "https://www.manisteenews.com":
47
- marketPrefix = "midcom/mani";
48
- break;
49
- case "https://www.ourmidland.com":
50
- marketPrefix = "midcom/mid";
51
- break;
52
- case "https://www.michigansthumb.com":
53
- marketPrefix = "midcom/huron";
54
- break;
55
- case "https://www.recordpatriot.com":
56
- marketPrefix = "midcom/benzie";
57
- break;
58
- case "https://www.theheraldreview.com":
59
- marketPrefix = "midcom/hr";
60
- break;
61
- case "https://www.lakecountystar.com":
62
- marketPrefix = "midcom/lc";
63
- break;
64
- case "https://www.thetelegraph.com":
65
- marketPrefix = "midcom/alton";
66
- break;
67
- case "https://www.theintelligencer.com":
68
- marketPrefix = "midcom/ed";
69
- break;
70
- case "https://www.myjournalcourier.com":
71
- marketPrefix = "midcom/jv";
72
- break;
73
- }
74
- }
75
- // If inverted, do black on white nav
76
- let invertClass = ""
77
- let color = "white"
78
- if (invert || forceColor === "white"){
79
- invertClass = "invert"
80
- color = "black"
81
- }
53
+ case "https://www.beaumontenterprise.com":
54
+ marketPrefix = "texcom/beau";
55
+ break;
56
+ case "https://www.lmtonline.com":
57
+ marketPrefix = "texcom/laredo";
58
+ break;
59
+ case "https://www.mrt.com":
60
+ marketPrefix = "texcom/mrt";
61
+ break;
62
+ case "https://www.myplainview.com":
63
+ marketPrefix = "texcom/plain";
64
+ break;
82
65
 
83
- const footerLinks = {
84
- "SFC": {
85
- "About": [
86
- {text:"Our Company",link:"http://www.hearst.com/newspapers/san-francisco-chronicle"},
87
- {text:"Terms of Use",link:"https://www.sfchronicle.com/terms_of_use/"},
88
- {text:"Privacy Notice",link:"https://www.sfchronicle.com/privacy_policy"},
89
- {text:"CA Notice at Collection",link:"https://www.sfchronicle.com/privacy_policy/#caprivacyrights"},
90
- {text:"Your CA Privacy Rights (Shine the Light)",link:"https://www.sfchronicle.com/privacy_policy/#shinethelight"},
91
- {text:"DAA Industry Opt Out",link:"https://www.sfchronicle.com/privacy_policy/#daaoptout"},
92
- {text:"Careers",link:"https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_11007"},
93
- {text:"Advertising",link:"https://marketing.sfgate.com/advertise-with-us-today"}
94
- ],
95
- "Newsroom": [
96
- {text:"Ethics Policy",link:"https://www.sfchronicle.com/file/759/0/7590-7528-Hearst_Newspaper_Group_Standards_and_Ethics_Policy.pdf"},
97
- {text:"Our Use of AI",link:"/ai_use/"},
98
- {text:"Endorsement Process",link:"https://www.sfchronicle.com/opinion/article/How-The-Chronicle-s-endorsement-process-works-14499467.php"},
99
- {text:"News Tips",link:"https://newstips.sfchronicle.com/"},
100
- {text:"Newsroom News", link:"https://www.sfchronicle.com/about/newsroomnews/"}
101
- ],
102
- "Contact": [
103
- {text:"Customer Service",link:"https://www.sfchronicle.com/customer_service"},
104
- {text:"FAQ",link:"https://www.sfchronicle.com/faq"},
105
- {text:"Newsroom Contacts",link:"https://www.sfchronicle.com/newsroom_contacts"}
106
- ],
107
- // "CCPA": [
108
- // {text:"Do Not Sell My Personal Information",link:"https://www.sfchronicle.com/mydata/"}
109
- // ],
110
- "Services": [
111
- {text:"Subscriber Services",link:"https://subscription.sfchronicle.com/"},
112
- {text:"e-Edition",link:"https://www.sfchronicle.com/e-edition"},
113
- {text:"Reprints & Permissions",link:"https://www.parsintl.com/publication/sfchronicle/"},
114
- {text:"Corporate Subscriptions",link:"https://www.sfchronicle.com/corporatesubscriptions/"},
115
- {text:"App",link:"https://www.sfchronicle.com/mobile-apps/"},
116
- {text:"Archives",link:"https://www.sfchronicle.com/archive/search/subscriber/"},
117
- {text:"Membership",link:"https://www.sfchronicle.com/membership"},
118
- {text:"Place an Obituary",link:"https://ezads.sfchron.com/sf-adportal/obits/"},
119
- {text:"Store",link:"https://sfchronicle.myshopify.com/?_ga=2.258575178.196771473.1682963726-25953531.1665430234"},
120
- {text:"Subscription Offers",link:"https://subscription.sfchronicle.com/checkout/1223/2586?siteID=SFC&origin=footer"},
121
- {text:"sfgate.com",link:"https://www.sfgate.com/"}
122
- ]
123
- },
124
- "Houston": {
125
- "About": [
126
- {
127
- "text": "Our Company",
128
- "link": "https://www.hearst.com/newspapers/houston-chronicle"
129
- },
130
- {
131
- "text": "Newspaper Delivery Safety Procedures",
132
- "link": "https://www.houstonchronicle.com/customer_service/article/How-Hearst-Newspapers-is-delivering-information-15151944.php"
133
- },
134
- {
135
- "text": "Privacy Notice",
136
- "link": "https://www.houstonchronicle.com/privacy_policy"
137
- },
138
- {
139
- "text": "Your California Privacy Rights",
140
- "link": "https://www.houstonchronicle.com/privacy_policy/#caprivacyrights"
141
- },
142
- {
143
- "text": "Interest Based Ads",
144
- "link": "https://www.houstonchronicle.com/privacy_policy/#interestbasedads"
145
- },
146
- {
147
- "text": "Terms of Use",
148
- "link": "https://www.houstonchronicle.com/terms_of_use/"
149
- },
150
- {
151
- "text": "Advertising",
152
- "link": "http://marketing.chron.com/"
153
- },
154
- {
155
- "text": "Careers",
156
- "link": "http://www.chron.com/careers/"
157
- }
158
- ],
159
- "Contact": [
160
- {
161
- "text": "Subscribe",
162
- "link": "https://offers.houstonchronicle.com/?origin=footer&variant=wcm.88837"
163
- },
164
- {
165
- "text": "e-Edition",
166
- "link": "https://subscription.houstonchronicle.com/eedition"
167
- },
168
- {
169
- "text": "Archives",
170
- "link": "https://www.houstonchronicle.com/archive/"
171
- },
172
- {
173
- "text": "Customer Service",
174
- "link": "https://www.houstonchronicle.com/customer_service"
175
- },
176
- {
177
- "text": "Frequently Asked Questions",
178
- "link": "https://www.houstonchronicle.com/faq"
179
- },
180
- {"text":"Our Use of AI","link":"/ai_use/"},
181
- {
182
- "text": "Newsroom Contacts",
183
- "link": "https://www.houstonchronicle.com/newsroom_contacts"
184
- }
185
- ],
186
- },
187
- "SanAntonio": {
188
- "About": [
189
- {
190
- "text": "Our Company",
191
- "link": "https://www.hearst.com/newspapers/san-antonio-express-news"
192
- },
193
- {
194
- "text": "Newspaper Delivery Safety Procedures",
195
- "link": "https://www.expressnews.com/customer_service/article/How-Hearst-Newspapers-is-delivering-information-15152120.php"
196
- },
197
- {
198
- "text": "Privacy Notice",
199
- "link": "https://www.expressnews.com/privacy_policy/"
200
- },
201
- {
202
- "text": "Your California Privacy Rights",
203
- "link": "https://www.expressnews.com/privacy_policy/#caprivacyrights"
204
- },
205
- {
206
- "text": "Interest Based Ads",
207
- "link": "https://www.expressnews.com/privacy_policy/#interestbasedads"
208
- },
209
- {
210
- "text": "Terms of Use",
211
- "link": "https://www.expressnews.com/terms_of_use/"
212
- },
213
- {
214
- "text": "Advertising",
215
- "link": "http://www.hearstmediasa.com/"
216
- },
217
- {
218
- "text": "Careers",
219
- "link": "http://www.mysanantonio.com/careers/"
220
- },
221
- {
222
- "text": "e-edition",
223
- "link": "http://digital.olivesoftware.com/Olive/ODN/SanAntonioExpressNews/Default.aspx"
224
- },
225
- ],
226
- "Contact": [
227
- {
228
- "text": "Archives",
229
- "link": "https://www.expressnews.com/archive"
230
- },
231
- {
232
- "text": "Customer Service",
233
- "link": "https://www.expressnews.com/customer_service"
234
- },
235
- {"text":"Our Use of AI","link":"/ai_use/"},
236
- {
237
- "text": "Frequently Asked Questions",
238
- "link": "https://www.expressnews.com/subscriberfaqs/"
239
- },
240
- {
241
- "text": "Newsroom Contacts",
242
- "link": "https://www.expressnews.com/newsroom_contacts"
243
- }
244
- ]
245
- },
246
- "Conroe": {
247
- "About": [
248
- {
249
- "text": "Terms of Use",
250
- "link": "https://www.yourconroenews.com/tos/"
251
- },
252
- {
253
- "text": "Privacy Notice",
254
- "link": "https://www.yourconroenews.com/privacy/"
255
- },
256
- {
257
- "text": "Your California Privacy Rights",
258
- "link": "https://www.yourconroenews.com/privacy/#additionalinformationforcaliforniaresidents"
259
- },
260
- {
261
- "text": "Interest Based Ads",
262
- "link": "https://www.yourconroenews.com/privacy/#interestbasedads"
263
- },
264
- {
265
- "text": "Careers",
266
- "link": "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1"
267
- },
268
- {
269
- "text": "Our Company",
270
- "link": "https://www.hearst.com/newspapers/houston-chronicle"
271
- },
272
- {
273
- "text": "Subscribe",
274
- "link": "https://www.yourconroenews.com/subproject"
275
- },
276
- {
277
- "text": "e-Edition",
278
- "link": "https://www.yourconroenews.com/e-edition"
279
- }
280
- ],
281
- "Contact": [
282
- {
283
- "text": "Advertising",
284
- "link": "https://marketing.chron.com/"
285
- },
286
- {
287
- "text": "Contact",
288
- "link": "https://www.yourconroenews.com/contact/"
289
- },
290
- {"text":"Our Use of AI","link":"/ai_use/"}
291
- ],
292
- "Connect": [
293
- {
294
- "text": "Facebook",
295
- "link": "https://www.facebook.com/TheCourierofMontgomeryCounty/"
296
- },
297
- {
298
- "text": "Twitter",
299
- "link": "https://twitter.com/conroecourier"
300
- }
301
- ]
302
- },
303
- "Albany": {
304
- "About": [
305
- {
306
- "text": "Our Company",
307
- "link": "http://www.hearst.com/newspapers/albany-times-union",
308
- },
309
- {
310
- "text": "General Standards and Practices",
311
- "link": "https://www.timesunion.com/home/article/General-Standards-and-Practices-for-Hearst-15647242.php/"
312
- },
313
- {
314
- "text": "Newspaper Delivery Safety Procedures",
315
- "link": "https://www.timesunion.com/home/article/How-Hearst-Newspapers-is-delivering-information-15152131.php"
316
- },
317
- {
318
- "text": "Advertising",
319
- "link": "https://timesunionmediagroup.com/"
320
- },
321
- {
322
- "text": "Interest Based Ads",
323
- "link": "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php#interestbasedads"
324
- },
325
- {
326
- "text": "Terms of Use",
327
- "link": "https://www.timesunion.com/help/article/Terms-of-use-16468248.php "
328
- },
329
- {
330
- "text": "Privacy Notice",
331
- "link": "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php "
332
- },
333
- {
334
- "text": "Your California Privacy Rights",
335
- "link": "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php#additionalinformationforcaliforniaresidents "
336
- },
337
- {
338
- "text": "Jobs at the TU",
339
- "link": "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_15/pages/28003 "
340
- }
341
- ],
342
- "Contact": [
343
- {
344
- "text": "Contact Us",
345
- "link": "https://www.timesunion.com/help/"
346
- },
347
- {
348
- "text": "Weather",
349
- "link": "https://www.timesunion.com/weather/"
350
- },
351
- {
352
- "text": "School Closings",
353
- "link": "https://www.timesunion.com/closings/"
354
- },
355
- {
356
- "text": "Events Calendar",
357
- "link": "https://events.timesunion.com"
358
- },
359
- {
360
- "text": "Celebrations",
361
- "link": "https://www.timesunion.com/celebrations/"
362
- },
363
- {
364
- "text": "Obituaries",
365
- "link": "https://www.legacy.com/obituaries/timesunion-albany/"
366
- },
367
- {
368
- "text": "Online Store",
369
- "link": "https://timesunionplus-store.myshopify.com/"
370
- },
371
- {"text":"Our Use of AI","link":"/ai_use/"},
372
- {
373
- "text": "Puzzles Palace",
374
- "link": "https://www.timesunion.com/puzzles/"
375
- }
376
- ],
377
- "Services": [
378
- {
379
- "text": "Subscriber Services",
380
- "link": "https://subscription.timesunion.com/"
381
- },
382
- {
383
- "text": "Home Delivery",
384
- "link": "https://subscription.timesunion.com/checkout/337/730/?origin=footer"
385
- },
386
- {
387
- "text": "Become a Carrier",
388
- "link": "https://www.timesunion.com/carriers"
389
- },
390
- {
391
- "text": "e-Edition",
392
- "link": "https://subscription.timesunion.com/eedition/"
393
- },
394
- {
395
- "text": "Corporate Subscriptions",
396
- "link": "https://www.timesunion.com/corporatesubscriptions/"
397
- },
398
- {
399
- "text": "Mobile App",
400
- "link": "https://www.timesunion.com/mobile-apps/"
401
- },
402
- {
403
- "text": "Copyright and Reprint",
404
- "link": "https://www.timesunion.com/help/article/Times-Union-copyright-and-reprint-policy-16417547.php"
405
- },
406
- {
407
- "text": "Archives",
408
- "link": "https://www.timesunion.com/archive"
409
- }
410
- ]
411
- },
412
- "CT": {
413
- "About": [
414
- {
415
- "text": "Newspaper Delivery Safety Procedures",
416
- "link": "/article/How-Hearst-Newspapers-is-delivering-information-15152129.php",
417
- },
418
- {
419
- "text": "Privacy Notice",
420
- "link": "/privacy/"
421
- },
422
- {
423
- "text": "Your California Privacy Rights",
424
- "link": "/privacy/#additionalinformationforcaliforniaresidents"
425
- },
426
- {
427
- "text": "Interest Based Ads",
428
- "link": "/privacy/#interestbasedads"
429
- },
430
- {
431
- "text": "Terms of Use",
432
- "link": "/tos/"
433
- },
434
- {
435
- "text": "Advertising",
436
- "link": "https://hearstmediact.com/"
437
- },
438
- {
439
- "text": "Careers",
440
- "link": "http://www.hearst.com/careers"
441
- }
442
- ],
443
- "Contact": [
444
- {
445
- "text": "FAQ",
446
- "link": "/faq/"
447
- },
448
- {
449
- "text": "Customer Service",
450
- "link": "/feedback/"
451
- },
452
- {
453
- "text": "Today's e-Edition",
454
- "link": "https://subscription.hearstmediact.com/eEdition?siteID="+eedition
455
- },
456
- {"text":"Our Use of AI","link":"/ai_use/"},
457
- {
458
- "text": "Contact Us",
459
- "link": "/contact/"
460
- }
461
- ],
462
- "Connect": [
463
- {
464
- "text": "RSS",
465
- "link": "/rss/"
466
- },
467
- {
468
- "text": "Newsletter Sign-Up",
469
- "link": "/newsletters/"
470
- }
471
- ]
472
- },
473
- "Midcom": {
474
- "About": [
475
- {
476
- "text": "Privacy Notice",
477
- "link": "/privacy/"
478
- },
479
- {
480
- "text": "Your California Privacy Rights",
481
- "link": "/privacy/#additionalinformationforcaliforniaresidents"
482
- },
483
- {
484
- "text": "Interest Based Ads",
485
- "link": "/privacy/#interestbasedads"
486
- },
487
- {
488
- "text": "Terms of Use",
489
- "link": "/tos/"
490
- },
491
- {
492
- "text": "Careers",
493
- "link": "http://www.hearst.com/careers"
494
- }
495
- ],
496
- "Contact": [
497
- {
498
- "text": "Subscribe",
499
- "link": "/subproject/"
500
- },
501
- {
502
- "text": "Newsroom Contacts",
503
- "link": "/contact/"
504
- },
505
- {"text":"Our Use of AI","link":"/ai_use/"},
506
- {
507
- "text": "Advertise",
508
- "link": "https://hearstmediamidwest.com/"
509
- }
510
- ]
511
- },
512
- "Texcom": {
513
- "About": [
514
- {
515
- "text": "Privacy Notice",
516
- "link": "/privacy/"
517
- },
518
- {
519
- "text": "Your California Privacy Rights",
520
- "link": "/privacy/#additionalinformationforcaliforniaresidents"
521
- },
522
- {
523
- "text": "Interest Based Ads",
524
- "link": "/privacy/#interestbasedads"
525
- },
526
- {
527
- "text": "Terms of Use",
528
- "link": "/tos/"
529
- },
530
- {"text":"Our Use of AI","link":"/ai_use/"},
531
- {
532
- "text": "Careers",
533
- "link": "http://www.hearst.com/careers"
534
- }
535
- ],
536
- "Contact": [
537
- {
538
- "text": "Subscribe",
539
- "link": "/subproject/"
540
- },
541
- {
542
- "text": "Newsroom Contacts",
543
- "link": "/contact/"
544
- }
545
- ]
546
- },
547
- "Seattle": {
548
- "About": [
549
- {
550
- "text": "Privacy Notice",
551
- "link": "/privacy/"
552
- },
553
- {
554
- "text": "Your California Privacy Rights",
555
- "link": "/privacy/#additionalinformationforcaliforniaresidents"
556
- },
557
- {
558
- "text": "Interest Based Ads",
559
- "link": "/privacy/#interestbasedads"
560
- },
561
- {
562
- "text": "Terms of Use",
563
- "link": "/terms/"
564
- },
565
- {
566
- "text": "Our Company",
567
- "link": "/facts/"
568
- },
569
- {
570
- "text": "Careers",
571
- "link": "/pijobs/"
572
- },
573
- {
574
- "text": "Advertising",
575
- "link": "https://www.hearstseattlepi.com/"
576
- },
577
- {
578
- "text": "Standards and Practices",
579
- "link": "https://www.sfchronicle.com/file/759/0/7590-7528-Hearst_Newspaper_Group_Standards_and_Ethics_Policy.pdf"
580
- },
581
- {
582
- "text": "Anonymous Sources Policy",
583
- "link": "https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3Acaa61dc6-4e58-4e37-a089-89df2181b945"
584
- },
585
- {
586
- "text": "Correction Policy",
587
- "link": "https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3A857e94d2-250e-4bfc-9bd2-50095a3d3e29"
588
- }
589
- ],
590
- "Contact": [
591
- {
592
- "text": "Newsroom Contacts",
593
- "link": "/pistaff/"
594
- },
595
- {"text":"Our Use of AI","link":"/ai_use/"},
596
- {
597
- "text": "Ethics Policy",
598
- "link": "/standards/"
599
- }
600
- ],
601
- "Connect": [
602
- {
603
- "text": "Archive",
604
- "link": "https://seattlepi.newsbank.com/"
605
- },
606
- {
607
- "text": "Newsletters",
608
- "link": "https://www.seattlepi.com/newsletters/"
609
- },
610
- {
611
- "text": "Facebook",
612
- "link": "https://www.facebook.com/seattlepionline"
613
- },
614
- {
615
- "text": "Twitter",
616
- "link": "https://twitter.com/seattlepi"
617
- },
618
- {
619
- "text": "Instagram",
620
- "link": "https://www.instagram.com/seattlepi/"
621
- }
622
- ]
623
- },
624
- "TK": {
625
- "About": [
626
- {
627
- "text": "Advertising",
628
- "link": "https://hearstmediact.com/"
629
- },
630
- {
631
- "text": "Careers",
632
- "link": "http://www.hearst.com/careers"
633
- }
634
- ]
635
- }
636
- }
66
+ case "https://www.bigrapidsnews.com":
67
+ marketPrefix = "midcom/big";
68
+ break;
69
+ case "https://www.manisteenews.com":
70
+ marketPrefix = "midcom/mani";
71
+ break;
72
+ case "https://www.ourmidland.com":
73
+ marketPrefix = "midcom/mid";
74
+ break;
75
+ case "https://www.michigansthumb.com":
76
+ marketPrefix = "midcom/huron";
77
+ break;
78
+ case "https://www.recordpatriot.com":
79
+ marketPrefix = "midcom/benzie";
80
+ break;
81
+ case "https://www.theheraldreview.com":
82
+ marketPrefix = "midcom/hr";
83
+ break;
84
+ case "https://www.lakecountystar.com":
85
+ marketPrefix = "midcom/lc";
86
+ break;
87
+ case "https://www.thetelegraph.com":
88
+ marketPrefix = "midcom/alton";
89
+ break;
90
+ case "https://www.theintelligencer.com":
91
+ marketPrefix = "midcom/ed";
92
+ break;
93
+ case "https://www.myjournalcourier.com":
94
+ marketPrefix = "midcom/jv";
95
+ break;
96
+ }
97
+ }
98
+ // If inverted, do black on white nav
99
+ let invertClass = "";
100
+ let color = "white";
101
+ if (invert || forceColor === "white") {
102
+ invertClass = "invert";
103
+ color = "black";
104
+ }
637
105
 
638
- let marketLinks = footerLinks[meta.PROJECT.MARKET_KEY]
639
- // Special case for ctinsider, which doesn't fit the normal CT mold
640
- if (marketPrefix === "in"){
641
- marketLinks = {
642
- "About": [
643
- {
644
- "text": "Our Company",
645
- "link": "https://www.hearst.com/newspapers/hearst-connecticut-media-group",
646
- },
647
- {
648
- "text": "Ad Choices",
649
- "link": "https://optout.aboutads.info/?c=2&lang=EN"
650
- },
651
- {
652
- "text": "Careers",
653
- "link": "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1"
654
- },
655
- {
656
- "text": "Terms of Use",
657
- "link": "https://www.ctinsider.com/tos/"
658
- },
659
- {
660
- "text": "Advertising",
661
- "link": "https://hearstmediact.com/?_ga=2.121588744.1440353062.1624467793-1527008254.1622131828"
662
- },
663
- {
664
- "text": "Privacy Notice / Notice of Collection",
665
- "link": "https://www.ctinsider.com/privacy/"
666
- },
667
- {
668
- "text": "Your Privacy Rights",
669
- "link": "https://www.ctinsider.com/privacy/#your_rights"
670
- },
671
- {
672
- "text": "Your California Privacy Rights",
673
- "link": "https://www.ctinsider.com/privacy/#additionalinformationforcaliforniaresidents"
674
- }
675
- ],
676
- "Contact": [
677
- {
678
- "text": "Contact Us",
679
- "link": "https://www.ctinsider.com/contact/"
680
- },
681
- {
682
- "text": "FAQ",
683
- "link": "https://www.ctinsider.com/faq/"
684
- },
685
- {"text":"Our Use of AI","link":"/ai_use/"}
686
- ]
687
- }
688
- }
106
+ const footerLinks = {
107
+ SFC: {
108
+ About: [
109
+ {
110
+ text: "Our Company",
111
+ link: "http://www.hearst.com/newspapers/san-francisco-chronicle",
112
+ },
113
+ {
114
+ text: "Terms of Use",
115
+ link: "https://www.sfchronicle.com/terms_of_use/",
116
+ },
117
+ {
118
+ text: "Privacy Notice",
119
+ link: "https://www.sfchronicle.com/privacy_policy",
120
+ },
121
+ {
122
+ text: "CA Notice at Collection",
123
+ link: "https://www.sfchronicle.com/privacy_policy/#caprivacyrights",
124
+ },
125
+ {
126
+ text: "Your CA Privacy Rights (Shine the Light)",
127
+ link: "https://www.sfchronicle.com/privacy_policy/#shinethelight",
128
+ },
129
+ {
130
+ text: "DAA Industry Opt Out",
131
+ link: "https://www.sfchronicle.com/privacy_policy/#daaoptout",
132
+ },
133
+ {
134
+ text: "Careers",
135
+ link:
136
+ "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_11007",
137
+ },
138
+ {
139
+ text: "Advertising",
140
+ link: "https://marketing.sfgate.com/advertise-with-us-today",
141
+ },
142
+ ],
143
+ Newsroom: [
144
+ {
145
+ text: "Ethics Policy",
146
+ link:
147
+ "https://www.sfchronicle.com/file/759/0/7590-7528-Hearst_Newspaper_Group_Standards_and_Ethics_Policy.pdf",
148
+ },
149
+ { text: "Our Use of AI", link: "/ai_use/" },
150
+ {
151
+ text: "Endorsement Process",
152
+ link:
153
+ "https://www.sfchronicle.com/opinion/article/How-The-Chronicle-s-endorsement-process-works-14499467.php",
154
+ },
155
+ { text: "News Tips", link: "https://newstips.sfchronicle.com/" },
156
+ {
157
+ text: "Newsroom News",
158
+ link: "https://www.sfchronicle.com/about/newsroomnews/",
159
+ },
160
+ ],
161
+ Contact: [
162
+ {
163
+ text: "Customer Service",
164
+ link: "https://www.sfchronicle.com/customer_service",
165
+ },
166
+ { text: "FAQ", link: "https://www.sfchronicle.com/faq" },
167
+ {
168
+ text: "Newsroom Contacts",
169
+ link: "https://www.sfchronicle.com/newsroom_contacts",
170
+ },
171
+ ],
172
+ // "CCPA": [
173
+ // {text:"Do Not Sell My Personal Information",link:"https://www.sfchronicle.com/mydata/"}
174
+ // ],
175
+ Services: [
176
+ {
177
+ text: "Subscriber Services",
178
+ link: "https://subscription.sfchronicle.com/",
179
+ },
180
+ { text: "e-Edition", link: "https://www.sfchronicle.com/e-edition" },
181
+ {
182
+ text: "Reprints & Permissions",
183
+ link: "https://www.parsintl.com/publication/sfchronicle/",
184
+ },
185
+ {
186
+ text: "Corporate Subscriptions",
187
+ link: "https://www.sfchronicle.com/corporatesubscriptions/",
188
+ },
189
+ { text: "App", link: "https://www.sfchronicle.com/mobile-apps/" },
190
+ {
191
+ text: "Archives",
192
+ link: "https://www.sfchronicle.com/archive/search/subscriber/",
193
+ },
194
+ { text: "Membership", link: "https://www.sfchronicle.com/membership" },
195
+ {
196
+ text: "Place an Obituary",
197
+ link: "https://ezads.sfchron.com/sf-adportal/obits/",
198
+ },
199
+ {
200
+ text: "Store",
201
+ link:
202
+ "https://sfchronicle.myshopify.com/?_ga=2.258575178.196771473.1682963726-25953531.1665430234",
203
+ },
204
+ {
205
+ text: "Subscription Offers",
206
+ link:
207
+ "https://subscription.sfchronicle.com/checkout/1223/2586?siteID=SFC&origin=footer",
208
+ },
209
+ { text: "sfgate.com", link: "https://www.sfgate.com/" },
210
+ ],
211
+ },
212
+ Houston: {
213
+ About: [
214
+ {
215
+ text: "Our Company",
216
+ link: "https://www.hearst.com/newspapers/houston-chronicle",
217
+ },
218
+ {
219
+ text: "Newspaper Delivery Safety Procedures",
220
+ link:
221
+ "https://www.houstonchronicle.com/customer_service/article/How-Hearst-Newspapers-is-delivering-information-15151944.php",
222
+ },
223
+ {
224
+ text: "Privacy Notice",
225
+ link: "https://www.houstonchronicle.com/privacy_policy",
226
+ },
227
+ {
228
+ text: "Your California Privacy Rights",
229
+ link:
230
+ "https://www.houstonchronicle.com/privacy_policy/#caprivacyrights",
231
+ },
232
+ {
233
+ text: "Interest Based Ads",
234
+ link:
235
+ "https://www.houstonchronicle.com/privacy_policy/#interestbasedads",
236
+ },
237
+ {
238
+ text: "Terms of Use",
239
+ link: "https://www.houstonchronicle.com/terms_of_use/",
240
+ },
241
+ {
242
+ text: "Advertising",
243
+ link: "http://marketing.chron.com/",
244
+ },
245
+ {
246
+ text: "Careers",
247
+ link: "http://www.chron.com/careers/",
248
+ },
249
+ ],
250
+ Contact: [
251
+ {
252
+ text: "Subscribe",
253
+ link:
254
+ "https://offers.houstonchronicle.com/?origin=footer&variant=wcm.88837",
255
+ },
256
+ {
257
+ text: "e-Edition",
258
+ link: "https://subscription.houstonchronicle.com/eedition",
259
+ },
260
+ {
261
+ text: "Archives",
262
+ link: "https://www.houstonchronicle.com/archive/",
263
+ },
264
+ {
265
+ text: "Customer Service",
266
+ link: "https://www.houstonchronicle.com/customer_service",
267
+ },
268
+ {
269
+ text: "Frequently Asked Questions",
270
+ link: "https://www.houstonchronicle.com/faq",
271
+ },
272
+ { text: "Our Use of AI", link: "/ai_use/" },
273
+ {
274
+ text: "Newsroom Contacts",
275
+ link: "https://www.houstonchronicle.com/newsroom_contacts",
276
+ },
277
+ ],
278
+ },
279
+ SanAntonio: {
280
+ About: [
281
+ {
282
+ text: "Our Company",
283
+ link: "https://www.hearst.com/newspapers/san-antonio-express-news",
284
+ },
285
+ {
286
+ text: "Newspaper Delivery Safety Procedures",
287
+ link:
288
+ "https://www.expressnews.com/customer_service/article/How-Hearst-Newspapers-is-delivering-information-15152120.php",
289
+ },
290
+ {
291
+ text: "Privacy Notice",
292
+ link: "https://www.expressnews.com/privacy_policy/",
293
+ },
294
+ {
295
+ text: "Your California Privacy Rights",
296
+ link: "https://www.expressnews.com/privacy_policy/#caprivacyrights",
297
+ },
298
+ {
299
+ text: "Interest Based Ads",
300
+ link: "https://www.expressnews.com/privacy_policy/#interestbasedads",
301
+ },
302
+ {
303
+ text: "Terms of Use",
304
+ link: "https://www.expressnews.com/terms_of_use/",
305
+ },
306
+ {
307
+ text: "Advertising",
308
+ link: "http://www.hearstmediasa.com/",
309
+ },
310
+ {
311
+ text: "Careers",
312
+ link: "http://www.mysanantonio.com/careers/",
313
+ },
314
+ {
315
+ text: "e-edition",
316
+ link:
317
+ "http://digital.olivesoftware.com/Olive/ODN/SanAntonioExpressNews/Default.aspx",
318
+ },
319
+ ],
320
+ Contact: [
321
+ {
322
+ text: "Archives",
323
+ link: "https://www.expressnews.com/archive",
324
+ },
325
+ {
326
+ text: "Customer Service",
327
+ link: "https://www.expressnews.com/customer_service",
328
+ },
329
+ { text: "Our Use of AI", link: "/ai_use/" },
330
+ {
331
+ text: "Frequently Asked Questions",
332
+ link: "https://www.expressnews.com/subscriberfaqs/",
333
+ },
334
+ {
335
+ text: "Newsroom Contacts",
336
+ link: "https://www.expressnews.com/newsroom_contacts",
337
+ },
338
+ ],
339
+ },
340
+ Conroe: {
341
+ About: [
342
+ {
343
+ text: "Terms of Use",
344
+ link: "https://www.yourconroenews.com/tos/",
345
+ },
346
+ {
347
+ text: "Privacy Notice",
348
+ link: "https://www.yourconroenews.com/privacy/",
349
+ },
350
+ {
351
+ text: "Your California Privacy Rights",
352
+ link:
353
+ "https://www.yourconroenews.com/privacy/#additionalinformationforcaliforniaresidents",
354
+ },
355
+ {
356
+ text: "Interest Based Ads",
357
+ link: "https://www.yourconroenews.com/privacy/#interestbasedads",
358
+ },
359
+ {
360
+ text: "Careers",
361
+ link:
362
+ "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1",
363
+ },
364
+ {
365
+ text: "Our Company",
366
+ link: "https://www.hearst.com/newspapers/houston-chronicle",
367
+ },
368
+ {
369
+ text: "Subscribe",
370
+ link: "https://www.yourconroenews.com/subproject",
371
+ },
372
+ {
373
+ text: "e-Edition",
374
+ link: "https://www.yourconroenews.com/e-edition",
375
+ },
376
+ ],
377
+ Contact: [
378
+ {
379
+ text: "Advertising",
380
+ link: "https://marketing.chron.com/",
381
+ },
382
+ {
383
+ text: "Contact",
384
+ link: "https://www.yourconroenews.com/contact/",
385
+ },
386
+ { text: "Our Use of AI", link: "/ai_use/" },
387
+ ],
388
+ Connect: [
389
+ {
390
+ text: "Facebook",
391
+ link: "https://www.facebook.com/TheCourierofMontgomeryCounty/",
392
+ },
393
+ {
394
+ text: "Twitter",
395
+ link: "https://twitter.com/conroecourier",
396
+ },
397
+ ],
398
+ },
399
+ Albany: {
400
+ About: [
401
+ {
402
+ text: "Our Company",
403
+ link: "http://www.hearst.com/newspapers/albany-times-union",
404
+ },
405
+ {
406
+ text: "General Standards and Practices",
407
+ link:
408
+ "https://www.timesunion.com/home/article/General-Standards-and-Practices-for-Hearst-15647242.php/",
409
+ },
410
+ {
411
+ text: "Newspaper Delivery Safety Procedures",
412
+ link:
413
+ "https://www.timesunion.com/home/article/How-Hearst-Newspapers-is-delivering-information-15152131.php",
414
+ },
415
+ {
416
+ text: "Advertising",
417
+ link: "https://timesunionmediagroup.com/",
418
+ },
419
+ {
420
+ text: "Interest Based Ads",
421
+ link:
422
+ "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php#interestbasedads",
423
+ },
424
+ {
425
+ text: "Terms of Use",
426
+ link:
427
+ "https://www.timesunion.com/help/article/Terms-of-use-16468248.php ",
428
+ },
429
+ {
430
+ text: "Privacy Notice",
431
+ link:
432
+ "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php ",
433
+ },
434
+ {
435
+ text: "Your California Privacy Rights",
436
+ link:
437
+ "https://www.timesunion.com/help/article/Privacy-notice-highlights-16480619.php#additionalinformationforcaliforniaresidents ",
438
+ },
439
+ {
440
+ text: "Jobs at the TU",
441
+ link:
442
+ "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_15/pages/28003 ",
443
+ },
444
+ ],
445
+ Contact: [
446
+ {
447
+ text: "Contact Us",
448
+ link: "https://www.timesunion.com/help/",
449
+ },
450
+ {
451
+ text: "Weather",
452
+ link: "https://www.timesunion.com/weather/",
453
+ },
454
+ {
455
+ text: "School Closings",
456
+ link: "https://www.timesunion.com/closings/",
457
+ },
458
+ {
459
+ text: "Events Calendar",
460
+ link: "https://events.timesunion.com",
461
+ },
462
+ {
463
+ text: "Celebrations",
464
+ link: "https://www.timesunion.com/celebrations/",
465
+ },
466
+ {
467
+ text: "Obituaries",
468
+ link: "https://www.legacy.com/obituaries/timesunion-albany/",
469
+ },
470
+ {
471
+ text: "Online Store",
472
+ link: "https://timesunionplus-store.myshopify.com/",
473
+ },
474
+ { text: "Our Use of AI", link: "/ai_use/" },
475
+ {
476
+ text: "Puzzles Palace",
477
+ link: "https://www.timesunion.com/puzzles/",
478
+ },
479
+ ],
480
+ Services: [
481
+ {
482
+ text: "Subscriber Services",
483
+ link: "https://subscription.timesunion.com/",
484
+ },
485
+ {
486
+ text: "Home Delivery",
487
+ link:
488
+ "https://subscription.timesunion.com/checkout/337/730/?origin=footer",
489
+ },
490
+ {
491
+ text: "Become a Carrier",
492
+ link: "https://www.timesunion.com/carriers",
493
+ },
494
+ {
495
+ text: "e-Edition",
496
+ link: "https://subscription.timesunion.com/eedition/",
497
+ },
498
+ {
499
+ text: "Corporate Subscriptions",
500
+ link: "https://www.timesunion.com/corporatesubscriptions/",
501
+ },
502
+ {
503
+ text: "Mobile App",
504
+ link: "https://www.timesunion.com/mobile-apps/",
505
+ },
506
+ {
507
+ text: "Copyright and Reprint",
508
+ link:
509
+ "https://www.timesunion.com/help/article/Times-Union-copyright-and-reprint-policy-16417547.php",
510
+ },
511
+ {
512
+ text: "Archives",
513
+ link: "https://www.timesunion.com/archive",
514
+ },
515
+ ],
516
+ },
517
+ CT: {
518
+ About: [
519
+ {
520
+ text: "Newspaper Delivery Safety Procedures",
521
+ link:
522
+ "/article/How-Hearst-Newspapers-is-delivering-information-15152129.php",
523
+ },
524
+ {
525
+ text: "Privacy Notice",
526
+ link: "/privacy/",
527
+ },
528
+ {
529
+ text: "Your California Privacy Rights",
530
+ link: "/privacy/#additionalinformationforcaliforniaresidents",
531
+ },
532
+ {
533
+ text: "Interest Based Ads",
534
+ link: "/privacy/#interestbasedads",
535
+ },
536
+ {
537
+ text: "Terms of Use",
538
+ link: "/tos/",
539
+ },
540
+ {
541
+ text: "Advertising",
542
+ link: "https://hearstmediact.com/",
543
+ },
544
+ {
545
+ text: "Careers",
546
+ link: "http://www.hearst.com/careers",
547
+ },
548
+ ],
549
+ Contact: [
550
+ {
551
+ text: "FAQ",
552
+ link: "/faq/",
553
+ },
554
+ {
555
+ text: "Customer Service",
556
+ link: "/feedback/",
557
+ },
558
+ {
559
+ text: "Today's e-Edition",
560
+ link:
561
+ "https://subscription.hearstmediact.com/eEdition?siteID=" +
562
+ eedition,
563
+ },
564
+ { text: "Our Use of AI", link: "/ai_use/" },
565
+ {
566
+ text: "Contact Us",
567
+ link: "/contact/",
568
+ },
569
+ ],
570
+ Connect: [
571
+ {
572
+ text: "RSS",
573
+ link: "/rss/",
574
+ },
575
+ {
576
+ text: "Newsletter Sign-Up",
577
+ link: "/newsletters/",
578
+ },
579
+ ],
580
+ },
581
+ Midcom: {
582
+ About: [
583
+ {
584
+ text: "Privacy Notice",
585
+ link: "/privacy/",
586
+ },
587
+ {
588
+ text: "Your California Privacy Rights",
589
+ link: "/privacy/#additionalinformationforcaliforniaresidents",
590
+ },
591
+ {
592
+ text: "Interest Based Ads",
593
+ link: "/privacy/#interestbasedads",
594
+ },
595
+ {
596
+ text: "Terms of Use",
597
+ link: "/tos/",
598
+ },
599
+ {
600
+ text: "Careers",
601
+ link: "http://www.hearst.com/careers",
602
+ },
603
+ ],
604
+ Contact: [
605
+ {
606
+ text: "Subscribe",
607
+ link: "/subproject/",
608
+ },
609
+ {
610
+ text: "Newsroom Contacts",
611
+ link: "/contact/",
612
+ },
613
+ { text: "Our Use of AI", link: "/ai_use/" },
614
+ {
615
+ text: "Advertise",
616
+ link: "https://hearstmediamidwest.com/",
617
+ },
618
+ ],
619
+ },
620
+ Texcom: {
621
+ About: [
622
+ {
623
+ text: "Privacy Notice",
624
+ link: "/privacy/",
625
+ },
626
+ {
627
+ text: "Your California Privacy Rights",
628
+ link: "/privacy/#additionalinformationforcaliforniaresidents",
629
+ },
630
+ {
631
+ text: "Interest Based Ads",
632
+ link: "/privacy/#interestbasedads",
633
+ },
634
+ {
635
+ text: "Terms of Use",
636
+ link: "/tos/",
637
+ },
638
+ { text: "Our Use of AI", link: "/ai_use/" },
639
+ {
640
+ text: "Careers",
641
+ link: "http://www.hearst.com/careers",
642
+ },
643
+ ],
644
+ Contact: [
645
+ {
646
+ text: "Subscribe",
647
+ link: "/subproject/",
648
+ },
649
+ {
650
+ text: "Newsroom Contacts",
651
+ link: "/contact/",
652
+ },
653
+ ],
654
+ },
655
+ Seattle: {
656
+ About: [
657
+ {
658
+ text: "Privacy Notice",
659
+ link: "/privacy/",
660
+ },
661
+ {
662
+ text: "Your California Privacy Rights",
663
+ link: "/privacy/#additionalinformationforcaliforniaresidents",
664
+ },
665
+ {
666
+ text: "Interest Based Ads",
667
+ link: "/privacy/#interestbasedads",
668
+ },
669
+ {
670
+ text: "Terms of Use",
671
+ link: "/terms/",
672
+ },
673
+ {
674
+ text: "Our Company",
675
+ link: "/facts/",
676
+ },
677
+ {
678
+ text: "Careers",
679
+ link: "/pijobs/",
680
+ },
681
+ {
682
+ text: "Advertising",
683
+ link: "https://www.hearstseattlepi.com/",
684
+ },
685
+ {
686
+ text: "Standards and Practices",
687
+ link:
688
+ "https://www.sfchronicle.com/file/759/0/7590-7528-Hearst_Newspaper_Group_Standards_and_Ethics_Policy.pdf",
689
+ },
690
+ {
691
+ text: "Anonymous Sources Policy",
692
+ link:
693
+ "https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3Acaa61dc6-4e58-4e37-a089-89df2181b945",
694
+ },
695
+ {
696
+ text: "Correction Policy",
697
+ link:
698
+ "https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3A857e94d2-250e-4bfc-9bd2-50095a3d3e29",
699
+ },
700
+ ],
701
+ Contact: [
702
+ {
703
+ text: "Newsroom Contacts",
704
+ link: "/pistaff/",
705
+ },
706
+ { text: "Our Use of AI", link: "/ai_use/" },
707
+ {
708
+ text: "Ethics Policy",
709
+ link: "/standards/",
710
+ },
711
+ ],
712
+ Connect: [
713
+ {
714
+ text: "Archive",
715
+ link: "https://seattlepi.newsbank.com/",
716
+ },
717
+ {
718
+ text: "Newsletters",
719
+ link: "https://www.seattlepi.com/newsletters/",
720
+ },
721
+ {
722
+ text: "Facebook",
723
+ link: "https://www.facebook.com/seattlepionline",
724
+ },
725
+ {
726
+ text: "Twitter",
727
+ link: "https://twitter.com/seattlepi",
728
+ },
729
+ {
730
+ text: "Instagram",
731
+ link: "https://www.instagram.com/seattlepi/",
732
+ },
733
+ ],
734
+ },
735
+ Austin: {
736
+ About: [
737
+ {
738
+ text: "Our Company",
739
+ link: "https://www.hearst.com/austin-american-statesman",
740
+ },
741
+ {
742
+ text: "Privacy",
743
+ link: "/privacy/",
744
+ },
745
+ {
746
+ text: "DAA Industry Opt-Out",
747
+ link: "/privacy/#daaindustryoptout",
748
+ },
749
+ {
750
+ text: "Terms of Use",
751
+ link: "/terms/",
752
+ },
753
+ {
754
+ text: "Advertising",
755
+ link: "https://www.hearstaustinmedia.com/",
756
+ },
757
+ {
758
+ text: "Careers",
759
+ link: "/careers",
760
+ },
761
+ ],
762
+ Contact: [
763
+ {
764
+ text: "Archives",
765
+ link: "/archive/search/subscriber/",
766
+ },
767
+ {
768
+ text: "Customer Service",
769
+ link: "/help/",
770
+ },
771
+ {
772
+ text: "Frequently Asked Questions",
773
+ link: "/subscriberfaqs/",
774
+ },
775
+ {
776
+ text: "Newsroom Contacts",
777
+ link: "/contact/staff/",
778
+ },
779
+ {
780
+ text: "Our Use of AI",
781
+ link: "/ai_use/",
782
+ },
783
+ {
784
+ text: "Ethics Policy",
785
+ link: "/standards/",
786
+ },
787
+ ],
788
+ },
789
+ TK: {
790
+ About: [
791
+ {
792
+ text: "Advertising",
793
+ link: "https://hearstmediact.com/",
794
+ },
795
+ {
796
+ text: "Careers",
797
+ link: "http://www.hearst.com/careers",
798
+ },
799
+ ],
800
+ },
801
+ };
689
802
 
690
- let linkHTML = ""
691
- Object.keys(marketLinks).forEach(function(key,index) {
692
- // Open the new section
693
- linkHTML += '<li><div class="footer-title">'+key+'</div><ul class="section">'
803
+ let marketLinks = footerLinks[meta.PROJECT.MARKET_KEY];
804
+ // Special case for ctinsider, which doesn't fit the normal CT mold
805
+ if (marketPrefix === "in") {
806
+ marketLinks = {
807
+ About: [
808
+ {
809
+ text: "Our Company",
810
+ link:
811
+ "https://www.hearst.com/newspapers/hearst-connecticut-media-group",
812
+ },
813
+ {
814
+ text: "Ad Choices",
815
+ link: "https://optout.aboutads.info/?c=2&lang=EN",
816
+ },
817
+ {
818
+ text: "Careers",
819
+ link:
820
+ "https://eevd.fa.us6.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_1",
821
+ },
822
+ {
823
+ text: "Terms of Use",
824
+ link: "https://www.ctinsider.com/tos/",
825
+ },
826
+ {
827
+ text: "Advertising",
828
+ link:
829
+ "https://hearstmediact.com/?_ga=2.121588744.1440353062.1624467793-1527008254.1622131828",
830
+ },
831
+ {
832
+ text: "Privacy Notice / Notice of Collection",
833
+ link: "https://www.ctinsider.com/privacy/",
834
+ },
835
+ {
836
+ text: "Your Privacy Rights",
837
+ link: "https://www.ctinsider.com/privacy/#your_rights",
838
+ },
839
+ {
840
+ text: "Your California Privacy Rights",
841
+ link:
842
+ "https://www.ctinsider.com/privacy/#additionalinformationforcaliforniaresidents",
843
+ },
844
+ ],
845
+ Contact: [
846
+ {
847
+ text: "Contact Us",
848
+ link: "https://www.ctinsider.com/contact/",
849
+ },
850
+ {
851
+ text: "FAQ",
852
+ link: "https://www.ctinsider.com/faq/",
853
+ },
854
+ { text: "Our Use of AI", link: "/ai_use/" },
855
+ ],
856
+ };
857
+ }
694
858
 
695
- // Create the link items
696
- for (link in marketLinks[key]){
697
- let thisLink = marketLinks[key][link]
698
- linkHTML += '<li><a href="'+thisLink.link+'" target="_blank" rel="noopener noreferrer">'+thisLink.text+'</a></li>'
699
- }
859
+ let linkHTML = "";
860
+ Object.keys(marketLinks).forEach(function (key, index) {
861
+ // Open the new section
862
+ linkHTML +=
863
+ '<li><div class="footer-title">' + key + '</div><ul class="section">';
700
864
 
701
- // Close the new section
702
- linkHTML += '</ul></li>'
865
+ // Create the link items
866
+ for (link in marketLinks[key]) {
867
+ let thisLink = marketLinks[key][link];
868
+ linkHTML +=
869
+ '<li><a href="' +
870
+ thisLink.link +
871
+ '" target="_blank" rel="noopener noreferrer">' +
872
+ thisLink.text +
873
+ "</a></li>";
874
+ }
703
875
 
704
- });
705
- let blockHTML = ``
706
- if(meta.PROJECT.MARKET_KEY === 'SFC'){
707
- blockHTML += `
876
+ // Close the new section
877
+ linkHTML += "</ul></li>";
878
+ });
879
+ let blockHTML = ``;
880
+ if (meta.PROJECT.MARKET_KEY === "SFC") {
881
+ blockHTML += `
708
882
  <style>
709
883
  .pageFooter--right-links .large-footer-link{
710
884
  margin: 7px 0 23px 0;
@@ -734,9 +908,9 @@ let getFooter = function(meta, forceColor){
734
908
  <div class="large-footer-link">
735
909
  <a href="https://www.sfchronicle.com/mydata/" target="_blank" role="listitem">Your Privacy Choices (Opt Out of Sale/Targeted Ads)</a>
736
910
  </div>
737
- `
738
- }
739
- let footerHTML = `<footer class="pageFooter ${invertClass}">
911
+ `;
912
+ }
913
+ let footerHTML = `<footer class="pageFooter ${invertClass}">
740
914
  <div class="lock">
741
915
  <div class="pageFooter--wrapper">
742
916
  <div class="pageFooter--left">
@@ -785,9 +959,9 @@ let getFooter = function(meta, forceColor){
785
959
  </span>
786
960
  </div>
787
961
  </div>
788
- </footer>`
962
+ </footer>`;
789
963
 
790
- return footerHTML
791
- }
964
+ return footerHTML;
965
+ };
792
966
 
793
- module.exports = { getFooter }
967
+ module.exports = { getFooter };