sfc-utils 1.4.201 → 1.4.203

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.
@@ -45,6 +45,7 @@ const Geocoder = ({
45
45
  case "Houston":
46
46
  case "SanAntonio":
47
47
  case "Austin":
48
+ case "Dallas":
48
49
  filterRegion = "Texas";
49
50
  break;
50
51
  case "Albany":
@@ -61,7 +61,7 @@ function appendLayoutScripts(
61
61
  // Get the domain off the URL
62
62
  const domain = window.location.origin;
63
63
  const fullURL = window.location.href;
64
- const shortDomain = domain.replace("https://www.", "");
64
+ let shortDomain = domain.replace("https://www.", "");
65
65
  const script = document.createElement("script");
66
66
  // Dallas is a special flower
67
67
  if (shortDomain === "dallasnews.com") {
@@ -126,6 +126,10 @@ const LayoutHelmet = ({
126
126
  favHref =
127
127
  "https://www.statesman.com/sites/statesman/apple-touch-icon-196x196.png";
128
128
  }
129
+ else if (MARKET_KEY === "Dallas") {
130
+ favHref =
131
+ "https://www.dallasnews.com/sites/dallasnews/apple-touch-icon-196x196.png";
132
+ }
129
133
 
130
134
  // Set section with fallback
131
135
  let articleSection = "Local";
@@ -8,7 +8,7 @@ let settings = getSettings()
8
8
  let marketKeyArray = [
9
9
  { markets: ['SFC'], zone: 'America/Los_Angeles' },
10
10
  {
11
- markets: ['Houston', 'SanAntonio', 'Texcom', 'Austin'],
11
+ markets: ['Houston', 'SanAntonio', 'Texcom', 'Austin','Dallas'],
12
12
  zone: 'America/Chicago',
13
13
  },
14
14
  { markets: ['Albany', 'CT', 'Midcom'], zone: 'America/New_York' },
package/footer.js CHANGED
@@ -786,6 +786,60 @@ let getFooter = function (meta, forceColor) {
786
786
  },
787
787
  ],
788
788
  },
789
+ Dallas: {
790
+ About: [
791
+ {
792
+ text: 'Our Company',
793
+ link: 'https://www.hearst.com/the-dallas-morning-news',
794
+ },
795
+ {
796
+ text: 'Privacy',
797
+ link: '/privacy/',
798
+ },
799
+ {
800
+ text: 'DAA Industry Opt-Out',
801
+ link: '/privacy/#daaindustryoptout',
802
+ },
803
+ {
804
+ text: 'Terms of Use',
805
+ link: '/terms/',
806
+ },
807
+ {
808
+ text: 'Advertising',
809
+ link: 'https://mediumgiant.co/advertise-with-the-dallas-morning-news/',
810
+ },
811
+ {
812
+ text: 'Careers',
813
+ link: '/careers',
814
+ },
815
+ ],
816
+ Contact: [
817
+ {
818
+ text: 'Archives',
819
+ link: '/archive/search/subscriber/',
820
+ },
821
+ {
822
+ text: 'Customer Service',
823
+ link: '/help/',
824
+ },
825
+ {
826
+ text: 'Frequently Asked Questions',
827
+ link: '/subscriberfaqs/',
828
+ },
829
+ {
830
+ text: 'Newsroom Contacts',
831
+ link: '/contact/staff/',
832
+ },
833
+ {
834
+ text: 'Our Use of AI',
835
+ link: '/ai_use/',
836
+ },
837
+ {
838
+ text: 'Ethics Policy',
839
+ link: '/standards/',
840
+ },
841
+ ],
842
+ },
789
843
  TK: {
790
844
  About: [
791
845
  {
package/index.js CHANGED
@@ -163,6 +163,10 @@ let blendHDN = function (meta) {
163
163
  HDN.dataLayer.source.authorTitle = "Austin American-Statesman Staff";
164
164
  HDN.dataLayer.source.originalSourceSite = "statesman";
165
165
  break;
166
+ case "Dallas":
167
+ HDN.dataLayer.source.authorTitle = "Dallas Morning News Staff";
168
+ HDN.dataLayer.source.originalSourceSite = "dallasnews";
169
+ break;
166
170
  }
167
171
 
168
172
  // HDN.dataLayer object for sharing information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.201",
3
+ "version": "1.4.203",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",