sfc-utils 1.3.70 → 1.3.72
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.
|
@@ -3,7 +3,7 @@ import React from 'react'
|
|
|
3
3
|
import { Helmet } from 'react-helmet'
|
|
4
4
|
import { appCheck, getBrands2 } from "../../index"
|
|
5
5
|
|
|
6
|
-
const LayoutHelmet = ({ meta, url_add }) => {
|
|
6
|
+
const LayoutHelmet = ({ meta, url_add, noindex = false }) => {
|
|
7
7
|
let {
|
|
8
8
|
EMBEDDED,
|
|
9
9
|
MAIN_DOMAIN,
|
|
@@ -68,7 +68,7 @@ const LayoutHelmet = ({ meta, url_add }) => {
|
|
|
68
68
|
<link rel="canonical" href={`${CANONICAL_URL}/${url_add}`} />
|
|
69
69
|
<link rel="stylesheet" href={`https://files.sfchronicle.com/brand-styles/${styleSheetID}.css`} />
|
|
70
70
|
|
|
71
|
-
{(isApp || EMBEDDED) ? (
|
|
71
|
+
{(isApp || EMBEDDED || noindex) ? (
|
|
72
72
|
<meta name="robots" content="noindex, nofollow" />
|
|
73
73
|
) : (
|
|
74
74
|
<meta name="robots" content="max-image-preview:large" />
|
package/components/topper2.mjs
CHANGED
|
@@ -140,7 +140,7 @@ const Topper2 = ({ settings, wcmData }) => {
|
|
|
140
140
|
const getWcmIdList = (listStr) => {
|
|
141
141
|
if (!listStr) return [];
|
|
142
142
|
|
|
143
|
-
return listStr.split(";").map((d) => parseInt(d));
|
|
143
|
+
return listStr.toString().split(";").map((d) => parseInt(d));
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/** Checks if WCM list represents an image slideshow */
|
package/package.json
CHANGED
|
@@ -42,21 +42,6 @@ h1 {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
//move into share module?
|
|
46
|
-
.articleHeader--shareTools {
|
|
47
|
-
display: inline-block;
|
|
48
|
-
text-align: right;
|
|
49
|
-
float: right;
|
|
50
|
-
a, a:visited {
|
|
51
|
-
color: @black;
|
|
52
|
-
}
|
|
53
|
-
@media (max-width: @md) {
|
|
54
|
-
display: block;
|
|
55
|
-
float: none;
|
|
56
|
-
margin: @s4 0;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
45
|
.caption {
|
|
61
46
|
margin: @s4 auto @s24;
|
|
62
47
|
}
|
|
@@ -159,36 +144,6 @@ a {
|
|
|
159
144
|
}
|
|
160
145
|
}
|
|
161
146
|
|
|
162
|
-
/* Gift button mods */
|
|
163
|
-
.byline-wrapper {
|
|
164
|
-
overflow: auto;
|
|
165
|
-
}
|
|
166
|
-
.byline-wrapper .devhub .givegift {
|
|
167
|
-
padding: 1px 0px !important;
|
|
168
|
-
border-radius: 30px;
|
|
169
|
-
font-size: 16px;
|
|
170
|
-
}
|
|
171
|
-
.byline-wrapper .giftarticle.devhub {
|
|
172
|
-
margin-top: 0 !important;
|
|
173
|
-
margin-right: 4px !important;
|
|
174
|
-
}
|
|
175
|
-
.byline-wrapper .articleHeader--shareTools {
|
|
176
|
-
align-items: center;
|
|
177
|
-
}
|
|
178
|
-
.giftarticle svg {
|
|
179
|
-
padding-top: 1px;
|
|
180
|
-
}
|
|
181
|
-
@media (max-width: 420px){
|
|
182
|
-
.byline-wrapper .devhub .givegift {
|
|
183
|
-
font-size: 14px;
|
|
184
|
-
}
|
|
185
|
-
.giftarticle svg {
|
|
186
|
-
padding-top: 3px;
|
|
187
|
-
margin-right: 4px !important;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
/* End gift button mods */
|
|
191
|
-
|
|
192
147
|
.og-pub-date {
|
|
193
148
|
color: @grey-75;
|
|
194
149
|
}
|