@financial-times/dotcom-ui-shell 9.0.0-beta.15 → 9.0.0-beta.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/node/components/DocumentHead.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/__test__/components/__snapshots__/DocumentHead.test.tsx.snap +1 -1
- package/src/__test__/components/__snapshots__/Shell.test.tsx.snap +1 -1
- package/src/components/DocumentHead.tsx +1 -1
@@ -11,7 +11,7 @@ const DocumentHead = (props) => (react_1.default.createElement(react_1.default.F
|
|
11
11
|
react_1.default.createElement("meta", { charSet: "utf-8" }),
|
12
12
|
react_1.default.createElement("meta", { httpEquiv: "X-UA-Compatible", content: "IE=edge" }),
|
13
13
|
react_1.default.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
|
14
|
-
react_1.default.createElement("title", null, props.pageTitle ? `${props.pageTitle}
|
14
|
+
react_1.default.createElement("title", null, props.pageTitle ? `${props.pageTitle}` : props.siteTitle),
|
15
15
|
props.description && react_1.default.createElement("meta", { name: "description", content: props.description }),
|
16
16
|
props.canonicalURL && react_1.default.createElement("link", { rel: "canonical", href: props.canonicalURL }),
|
17
17
|
react_1.default.createElement("meta", { name: "robots", content: props.robots }),
|
@@ -192,7 +192,7 @@
|
|
192
192
|
"affectsGlobalScope": false
|
193
193
|
},
|
194
194
|
"../src/components/DocumentHead.tsx": {
|
195
|
-
"version": "
|
195
|
+
"version": "f300ef652801ea46b0dcc80a5c60521b5364f11682ee0fff242e21223560d63c",
|
196
196
|
"signature": "f65bd9263fe3e1fb5f8a7b7571d6b30118b3e2bf5882954d1cbeac08744e6c6c",
|
197
197
|
"affectsGlobalScope": false
|
198
198
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@financial-times/dotcom-ui-shell",
|
3
|
-
"version": "9.0.0-beta.
|
3
|
+
"version": "9.0.0-beta.16",
|
4
4
|
"description": "",
|
5
5
|
"main": "component.js",
|
6
6
|
"browser": "browser.js",
|
@@ -20,11 +20,11 @@
|
|
20
20
|
"author": "",
|
21
21
|
"license": "MIT",
|
22
22
|
"dependencies": {
|
23
|
-
"@financial-times/dotcom-ui-app-context": "^9.0.0-beta.
|
24
|
-
"@financial-times/dotcom-ui-base-styles": "^9.0.0-beta.
|
25
|
-
"@financial-times/dotcom-ui-bootstrap": "^9.0.0-beta.
|
26
|
-
"@financial-times/dotcom-ui-flags": "^9.0.0-beta.
|
27
|
-
"@financial-times/dotcom-ui-polyfill-service": "^9.0.0-beta.
|
23
|
+
"@financial-times/dotcom-ui-app-context": "^9.0.0-beta.16",
|
24
|
+
"@financial-times/dotcom-ui-base-styles": "^9.0.0-beta.16",
|
25
|
+
"@financial-times/dotcom-ui-bootstrap": "^9.0.0-beta.16",
|
26
|
+
"@financial-times/dotcom-ui-flags": "^9.0.0-beta.16",
|
27
|
+
"@financial-times/dotcom-ui-polyfill-service": "^9.0.0-beta.16",
|
28
28
|
"mime-types": "^2.1.26"
|
29
29
|
},
|
30
30
|
"peerDependencies": {
|
@@ -25,7 +25,7 @@ const DocumentHead = (props: TDocumentHeadProps) => (
|
|
25
25
|
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
26
26
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
27
27
|
|
28
|
-
<title>{props.pageTitle ? `${props.pageTitle}
|
28
|
+
<title>{props.pageTitle ? `${props.pageTitle}` : props.siteTitle}</title>
|
29
29
|
|
30
30
|
{props.description && <meta name="description" content={props.description} />}
|
31
31
|
|