@mindful-web/marko-web 1.89.3 → 1.89.4
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/components/bot-scores.marko.js +2 -2
- package/components/browser-component/script.marko.js +2 -2
- package/components/browser-component.marko.js +2 -2
- package/components/deferred-stylesheet.marko.js +2 -2
- package/components/document/components/body-wrapper.marko.js +2 -2
- package/components/document/components/error.marko.js +2 -2
- package/components/document/components/live-reload.marko.js +2 -2
- package/components/document/components/polyfill.marko.js +2 -2
- package/components/document/components/styles.marko.js +2 -2
- package/components/document/container.marko.js +2 -2
- package/components/document/index.marko.js +2 -2
- package/components/element/array.marko.js +2 -2
- package/components/element/audio.marko.js +2 -2
- package/components/element/block.marko.js +2 -2
- package/components/element/clear.marko.js +2 -2
- package/components/element/components/image.marko.js +2 -2
- package/components/element/components/text.marko.js +2 -2
- package/components/element/content/address1.marko.js +2 -2
- package/components/element/content/address2.marko.js +2 -2
- package/components/element/content/audio.marko.js +2 -2
- package/components/element/content/authors.marko.js +2 -2
- package/components/element/content/body.marko.js +2 -2
- package/components/element/content/byline.marko.js +2 -2
- package/components/element/content/city-state-zip.marko.js +2 -2
- package/components/element/content/contributors.marko.js +2 -2
- package/components/element/content/country.marko.js +2 -2
- package/components/element/content/embed-code.marko.js +2 -2
- package/components/element/content/end-date.marko.js +2 -2
- package/components/element/content/ends.marko.js +2 -2
- package/components/element/content/fax.marko.js +2 -2
- package/components/element/content/images.marko.js +2 -2
- package/components/element/content/mobile.marko.js +2 -2
- package/components/element/content/name.marko.js +2 -2
- package/components/element/content/phone.marko.js +2 -2
- package/components/element/content/photographers.marko.js +2 -2
- package/components/element/content/public-email.marko.js +2 -2
- package/components/element/content/published.marko.js +2 -2
- package/components/element/content/short-name.marko.js +2 -2
- package/components/element/content/sidebar-stubs.marko.js +2 -2
- package/components/element/content/sidebars.marko.js +2 -2
- package/components/element/content/source.marko.js +2 -2
- package/components/element/content/speakers.marko.js +2 -2
- package/components/element/content/sponsors.marko.js +2 -2
- package/components/element/content/start-date.marko.js +2 -2
- package/components/element/content/starts.marko.js +2 -2
- package/components/element/content/teaser.marko.js +2 -2
- package/components/element/content/title.marko.js +2 -2
- package/components/element/content/tollfree.marko.js +2 -2
- package/components/element/content/transcript.marko.js +2 -2
- package/components/element/content/website-deck.marko.js +2 -2
- package/components/element/content/website.marko.js +2 -2
- package/components/element/date.marko.js +2 -2
- package/components/element/image/caption.marko.js +2 -2
- package/components/element/image/credit.marko.js +2 -2
- package/components/element/image/display-name.marko.js +2 -2
- package/components/element/image/slider.marko.js +2 -2
- package/components/element/img.marko.js +2 -2
- package/components/element/index.marko.js +2 -2
- package/components/element/link.marko.js +2 -2
- package/components/element/magazine-issue/description.marko.js +2 -2
- package/components/element/magazine-issue/digital-edition-url.marko.js +2 -2
- package/components/element/magazine-issue/name.marko.js +2 -2
- package/components/element/magazine-issue/pdf-url.marko.js +2 -2
- package/components/element/magazine-publication/cancel-url.marko.js +2 -2
- package/components/element/magazine-publication/change-address-url.marko.js +2 -2
- package/components/element/magazine-publication/description.marko.js +2 -2
- package/components/element/magazine-publication/einquiry-url.marko.js +2 -2
- package/components/element/magazine-publication/name.marko.js +2 -2
- package/components/element/magazine-publication/renewal-url.marko.js +2 -2
- package/components/element/magazine-publication/reprints-url.marko.js +2 -2
- package/components/element/magazine-publication/subscribe-url.marko.js +2 -2
- package/components/element/obj-array.marko.js +2 -2
- package/components/element/obj-audio.marko.js +2 -2
- package/components/element/obj-date.marko.js +2 -2
- package/components/element/obj-nodes.marko.js +2 -2
- package/components/element/obj-text.marko.js +2 -2
- package/components/element/obj.marko.js +2 -2
- package/components/element/picture.marko.js +2 -2
- package/components/element/text.marko.js +2 -2
- package/components/element/website-section/description.marko.js +2 -2
- package/components/element/website-section/hierarchy.marko.js +2 -2
- package/components/element/website-section/name.marko.js +2 -2
- package/components/font/google.marko.js +2 -2
- package/components/font/link.marko.js +2 -2
- package/components/font/typekit.marko.js +2 -2
- package/components/load-more/index.marko.js +2 -2
- package/components/load-more/trigger.marko.js +2 -2
- package/components/node/body.marko.js +2 -2
- package/components/node/element.marko.js +2 -2
- package/components/node/footer.marko.js +2 -2
- package/components/node/header.marko.js +2 -2
- package/components/node/image-inner-wrapper.marko.js +2 -2
- package/components/node/image-wrapper.marko.js +2 -2
- package/components/node/image.marko.js +2 -2
- package/components/node/index.marko.js +2 -2
- package/components/node-list/body.marko.js +2 -2
- package/components/node-list/element.marko.js +2 -2
- package/components/node-list/footer.marko.js +2 -2
- package/components/node-list/header.marko.js +2 -2
- package/components/node-list/index.marko.js +2 -2
- package/components/node-list/node.marko.js +2 -2
- package/components/node-list/nodes.marko.js +2 -2
- package/components/page/container.marko.js +2 -2
- package/components/page/description.marko.js +2 -2
- package/components/page/image.marko.js +2 -2
- package/components/page/layouts/content.marko.js +2 -2
- package/components/page/layouts/default.marko +2 -2
- package/components/page/layouts/default.marko.js +5 -4
- package/components/page/layouts/dynamic-page.marko.js +2 -2
- package/components/page/layouts/magazine-issue.marko.js +2 -2
- package/components/page/layouts/magazine-publication.marko.js +2 -2
- package/components/page/layouts/marko.json +1 -0
- package/components/page/layouts/website-section.marko.js +2 -2
- package/components/page/metadata/components/common.marko +13 -6
- package/components/page/metadata/components/common.marko.js +7 -8
- package/components/page/metadata/content.marko +3 -1
- package/components/page/metadata/content.marko.js +5 -3
- package/components/page/metadata/default.marko.js +2 -2
- package/components/page/metadata/dynamic-page.marko.js +2 -2
- package/components/page/metadata/magazine-issue.marko.js +2 -2
- package/components/page/metadata/magazine-publication.marko.js +2 -2
- package/components/page/metadata/marko.json +8 -3
- package/components/page/metadata/website-section.marko +2 -0
- package/components/page/metadata/website-section.marko.js +4 -2
- package/components/page/rel-canonical.marko.js +2 -2
- package/components/page/title.marko.js +2 -2
- package/components/page/wrapper.marko.js +2 -2
- package/components/resolve/page.marko.js +2 -2
- package/components/rss/website-section.marko.js +2 -2
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/node-list/node.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -42,7 +42,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
marko_template.meta = {
|
|
45
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.89.4/components/node-list/node.marko",
|
|
46
46
|
tags: [
|
|
47
47
|
"./element.marko"
|
|
48
48
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/node-list/nodes.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -118,7 +118,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
118
118
|
});
|
|
119
119
|
|
|
120
120
|
marko_template.meta = {
|
|
121
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
121
|
+
id: "/@mindful-web/marko-web$1.89.4/components/node-list/nodes.marko",
|
|
122
122
|
tags: [
|
|
123
123
|
"./node.marko",
|
|
124
124
|
"./element.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/container.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -42,5 +42,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
marko_template.meta = {
|
|
45
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/container.marko"
|
|
46
46
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/description.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_attr = require("marko/dist/runtime/html/helpers/attr");
|
|
8
8
|
|
|
@@ -22,5 +22,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
marko_template.meta = {
|
|
25
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
25
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/description.marko"
|
|
26
26
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/image.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_image_module = require("@mindful-web/image"),
|
|
8
8
|
image_module = module_image_module.default || module_image_module,
|
|
@@ -111,7 +111,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
marko_template.meta = {
|
|
114
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
114
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/image.marko",
|
|
115
115
|
tags: [
|
|
116
116
|
"../element/image/display-name.marko",
|
|
117
117
|
"../element/img.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/content.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_web_content_page_metadata_template = require("../metadata/content.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -57,7 +57,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
marko_template.meta = {
|
|
60
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
60
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/content.marko",
|
|
61
61
|
tags: [
|
|
62
62
|
"../metadata/content.marko"
|
|
63
63
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ const type = input.type || "default";
|
|
2
|
-
$ const { title, description, noIndex } = input;
|
|
2
|
+
$ const { title, description, noIndex, robots } = input;
|
|
3
3
|
$ const { document } = out.global;
|
|
4
4
|
|
|
5
5
|
<${document}
|
|
@@ -8,7 +8,7 @@ $ const { document } = out.global;
|
|
|
8
8
|
foot=input.foot
|
|
9
9
|
>
|
|
10
10
|
<@head>
|
|
11
|
-
<marko-web-default-page-metadata title=title description=description no-index=noIndex />
|
|
11
|
+
<marko-web-default-page-metadata title=title description=description no-index=noIndex robots=robots />
|
|
12
12
|
<${input.head} />
|
|
13
13
|
</@head>
|
|
14
14
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/default.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_web_default_page_metadata_template = require("../metadata/default.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -14,7 +14,7 @@ function render(input, out, __component, component, state) {
|
|
|
14
14
|
|
|
15
15
|
const type = input.type || "default";
|
|
16
16
|
|
|
17
|
-
const { title, description, noIndex } = input;
|
|
17
|
+
const { title, description, noIndex, robots } = input;
|
|
18
18
|
|
|
19
19
|
const { document } = out.global;
|
|
20
20
|
|
|
@@ -28,7 +28,8 @@ function render(input, out, __component, component, state) {
|
|
|
28
28
|
marko_web_default_page_metadata_tag({
|
|
29
29
|
title: title,
|
|
30
30
|
description: description,
|
|
31
|
-
noIndex: noIndex
|
|
31
|
+
noIndex: noIndex,
|
|
32
|
+
robots: robots
|
|
32
33
|
}, out, __component, "2");
|
|
33
34
|
|
|
34
35
|
marko_dynamicTag(out, input.head, null, null, null, null, __component, "3");
|
|
@@ -56,7 +57,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
56
57
|
});
|
|
57
58
|
|
|
58
59
|
marko_template.meta = {
|
|
59
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
60
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/default.marko",
|
|
60
61
|
tags: [
|
|
61
62
|
"../metadata/default.marko"
|
|
62
63
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/dynamic-page.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_web_dynamic_page_metadata_template = require("../metadata/dynamic-page.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -53,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
marko_template.meta = {
|
|
56
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/dynamic-page.marko",
|
|
57
57
|
tags: [
|
|
58
58
|
"../metadata/dynamic-page.marko"
|
|
59
59
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/magazine-issue.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_web_magazine_issue_page_metadata_template = require("../metadata/magazine-issue.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -53,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
marko_template.meta = {
|
|
56
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/magazine-issue.marko",
|
|
57
57
|
tags: [
|
|
58
58
|
"../metadata/magazine-issue.marko"
|
|
59
59
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/magazine-publication.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
marko_web_magazine_publication_page_metadata_template = require("../metadata/magazine-publication.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -53,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
marko_template.meta = {
|
|
56
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/magazine-publication.marko",
|
|
57
57
|
tags: [
|
|
58
58
|
"../metadata/magazine-publication.marko"
|
|
59
59
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/layouts/website-section.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -71,7 +71,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
marko_template.meta = {
|
|
74
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
74
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/layouts/website-section.marko",
|
|
75
75
|
tags: [
|
|
76
76
|
"../metadata/website-section.marko",
|
|
77
77
|
"../../rss/website-section.marko"
|
|
@@ -7,10 +7,20 @@ $ const {
|
|
|
7
7
|
imageDimensions,
|
|
8
8
|
description,
|
|
9
9
|
noIndex,
|
|
10
|
+
robots: robotsOverride,
|
|
10
11
|
} = input;
|
|
11
12
|
$ const fallbackImage = config.fallbackImage();
|
|
12
13
|
$ const image = imageSrc || fallbackImage;
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
<!--
|
|
16
|
+
Robots content, highest precedence first:
|
|
17
|
+
1. an explicit `robots` string from the caller (e.g. "noindex, nofollow")
|
|
18
|
+
2. "noindex" when the page is flagged as non-indexable
|
|
19
|
+
3. the site's indexable-page directives (max-image-preview:large, ...)
|
|
20
|
+
A falsey result omits the tag entirely. Exactly one tag is ever emitted, so
|
|
21
|
+
callers must pass `no-index`/`robots` here rather than writing their own.
|
|
22
|
+
-->
|
|
23
|
+
$ const robots = robotsOverride || (noIndex ? "noindex" : config.robotsDirectives());
|
|
14
24
|
|
|
15
25
|
<!-- Standard Fields -->
|
|
16
26
|
<marko-web-page-title value=title />
|
|
@@ -18,12 +28,9 @@ $ const robotsDirectives = config.robotsDirectives();
|
|
|
18
28
|
<marko-web-page-rel-canonical path=canonicalPath url=canonicalUrl />
|
|
19
29
|
|
|
20
30
|
<!-- Robots Directives -->
|
|
21
|
-
<if(
|
|
22
|
-
<meta name="robots" content=
|
|
31
|
+
<if(robots)>
|
|
32
|
+
<meta name="robots" content=robots>
|
|
23
33
|
</if>
|
|
24
|
-
<else-if(robotsDirectives)>
|
|
25
|
-
<meta name="robots" content=robotsDirectives>
|
|
26
|
-
</else-if>
|
|
27
34
|
|
|
28
35
|
<!-- Name/Title (OpenGrah, and Schema.org respectively) -->
|
|
29
36
|
<if(title)>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/components/common.marko",
|
|
6
6
|
marko_component = require("./common.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
marko_web_page_title_template = require("../../title.marko"),
|
|
@@ -27,13 +27,14 @@ function render(input, out, __component, component, state) {
|
|
|
27
27
|
imageDimensions,
|
|
28
28
|
description,
|
|
29
29
|
noIndex,
|
|
30
|
+
robots: robotsOverride,
|
|
30
31
|
} = input;
|
|
31
32
|
|
|
32
33
|
const fallbackImage = config.fallbackImage();
|
|
33
34
|
|
|
34
35
|
const image = imageSrc || fallbackImage;
|
|
35
36
|
|
|
36
|
-
const
|
|
37
|
+
const robots = robotsOverride || (noIndex ? "noindex" : config.robotsDirectives());
|
|
37
38
|
|
|
38
39
|
marko_web_page_title_tag({
|
|
39
40
|
concatWith: "|",
|
|
@@ -49,11 +50,9 @@ function render(input, out, __component, component, state) {
|
|
|
49
50
|
url: canonicalUrl
|
|
50
51
|
}, out, __component, "2");
|
|
51
52
|
|
|
52
|
-
if (
|
|
53
|
-
out.w("<meta name=\"robots\" content=\"noindex\">");
|
|
54
|
-
} else if (robotsDirectives) {
|
|
53
|
+
if (robots) {
|
|
55
54
|
out.w("<meta name=\"robots\"" +
|
|
56
|
-
marko_attr("content",
|
|
55
|
+
marko_attr("content", robots) +
|
|
57
56
|
">");
|
|
58
57
|
}
|
|
59
58
|
|
|
@@ -85,7 +84,7 @@ function render(input, out, __component, component, state) {
|
|
|
85
84
|
marko_attr("content", href) +
|
|
86
85
|
">");
|
|
87
86
|
}
|
|
88
|
-
}, out, __component, "
|
|
87
|
+
}, out, __component, "8");
|
|
89
88
|
|
|
90
89
|
out.w("<meta property=\"og:site_name\"" +
|
|
91
90
|
marko_attr("content", config.website("name")) +
|
|
@@ -113,7 +112,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
113
112
|
}, marko_component);
|
|
114
113
|
|
|
115
114
|
marko_template.meta = {
|
|
116
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
115
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/components/common.marko",
|
|
117
116
|
component: "./common.marko",
|
|
118
117
|
tags: [
|
|
119
118
|
"../../title.marko",
|
|
@@ -120,7 +120,9 @@ $ const contentGatingHandler = isFunction(globalContentGatingHandler) ? globalCo
|
|
|
120
120
|
description: get(node, "metadata.description"),
|
|
121
121
|
canonicalPath: get(node, "siteContext.path"),
|
|
122
122
|
canonicalUrl: get(node, "siteContext.canonicalUrl"),
|
|
123
|
-
|
|
123
|
+
// `no-index` forces non-indexable (e.g. print views); it never makes an excluded page indexable.
|
|
124
|
+
noIndex: Boolean(input.noIndex) || get(node, "siteContext.noIndex") || config.website("id") !== get(node, "primarySite.id"),
|
|
125
|
+
robots: input.robots,
|
|
124
126
|
imageSrc: get(node, "metadata.image.src"),
|
|
125
127
|
imageDimensions: {
|
|
126
128
|
height: urlParams.get('h'),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/content.marko",
|
|
6
6
|
marko_component = require("./content.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_gql = require("graphql-tag"),
|
|
@@ -158,7 +158,9 @@ ${processedFragment}
|
|
|
158
158
|
description: get(node, "metadata.description"),
|
|
159
159
|
canonicalPath: get(node, "siteContext.path"),
|
|
160
160
|
canonicalUrl: get(node, "siteContext.canonicalUrl"),
|
|
161
|
-
|
|
161
|
+
// `no-index` forces non-indexable (e.g. print views); it never makes an excluded page indexable.
|
|
162
|
+
noIndex: Boolean(input.noIndex) || get(node, "siteContext.noIndex") || config.website("id") !== get(node, "primarySite.id"),
|
|
163
|
+
robots: input.robots,
|
|
162
164
|
imageSrc: get(node, "metadata.image.src"),
|
|
163
165
|
imageDimensions: {
|
|
164
166
|
height: urlParams.get('h'),
|
|
@@ -231,7 +233,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
231
233
|
}, marko_component);
|
|
232
234
|
|
|
233
235
|
marko_template.meta = {
|
|
234
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
236
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/content.marko",
|
|
235
237
|
component: "./content.marko",
|
|
236
238
|
tags: [
|
|
237
239
|
"./components/common.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/default.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
common_template = require("./components/common.marko"),
|
|
8
8
|
marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
|
|
@@ -22,7 +22,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
marko_template.meta = {
|
|
25
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
25
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/default.marko",
|
|
26
26
|
tags: [
|
|
27
27
|
"./components/common.marko"
|
|
28
28
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/dynamic-page.marko",
|
|
6
6
|
marko_component = require("./dynamic-page.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_gql = require("graphql-tag"),
|
|
@@ -75,7 +75,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
75
75
|
}, marko_component);
|
|
76
76
|
|
|
77
77
|
marko_template.meta = {
|
|
78
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
78
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/dynamic-page.marko",
|
|
79
79
|
component: "./dynamic-page.marko",
|
|
80
80
|
tags: [
|
|
81
81
|
"./components/common.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/magazine-issue.marko",
|
|
6
6
|
marko_component = require("./magazine-issue.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_gql = require("graphql-tag"),
|
|
@@ -74,7 +74,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
74
74
|
}, marko_component);
|
|
75
75
|
|
|
76
76
|
marko_template.meta = {
|
|
77
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
77
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/magazine-issue.marko",
|
|
78
78
|
component: "./magazine-issue.marko",
|
|
79
79
|
tags: [
|
|
80
80
|
"./components/common.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/magazine-publication.marko",
|
|
6
6
|
marko_component = require("./magazine-publication.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_gql = require("graphql-tag"),
|
|
@@ -70,7 +70,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
70
70
|
}, marko_component);
|
|
71
71
|
|
|
72
72
|
marko_template.meta = {
|
|
73
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
73
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/magazine-publication.marko",
|
|
74
74
|
component: "./magazine-publication.marko",
|
|
75
75
|
tags: [
|
|
76
76
|
"./components/common.marko",
|
|
@@ -6,17 +6,22 @@
|
|
|
6
6
|
"@canonical-path": "string",
|
|
7
7
|
"@canonical-url": "string",
|
|
8
8
|
"@image-src": "string",
|
|
9
|
-
"@no-index": "boolean"
|
|
9
|
+
"@no-index": "boolean",
|
|
10
|
+
"@robots": "string"
|
|
10
11
|
},
|
|
11
12
|
"<marko-web-content-page-metadata>": {
|
|
12
13
|
"template": "./content.marko",
|
|
13
14
|
"@id": "number",
|
|
14
15
|
"@structured-data-query-fragment": "string",
|
|
15
|
-
"@build-structured-data": "function"
|
|
16
|
+
"@build-structured-data": "function",
|
|
17
|
+
"@no-index": "boolean",
|
|
18
|
+
"@robots": "string"
|
|
16
19
|
},
|
|
17
20
|
"<marko-web-website-section-page-metadata>": {
|
|
18
21
|
"template": "./website-section.marko",
|
|
19
|
-
"@alias": "string"
|
|
22
|
+
"@alias": "string",
|
|
23
|
+
"@no-index": "boolean",
|
|
24
|
+
"@robots": "string"
|
|
20
25
|
},
|
|
21
26
|
"<marko-web-dynamic-page-metadata>": {
|
|
22
27
|
"template": "./dynamic-page.marko",
|
|
@@ -35,6 +35,8 @@ fragment WebsiteSectionPageMetadataFragment on WebsiteSection {
|
|
|
35
35
|
width: get(node, "logo.cropRectangle.width"),
|
|
36
36
|
height: get(node, "logo.cropRectangle.height")
|
|
37
37
|
},
|
|
38
|
+
noIndex: input.noIndex,
|
|
39
|
+
robots: input.robots,
|
|
38
40
|
};
|
|
39
41
|
<common ...metadata />
|
|
40
42
|
<meta property="og:type" content="website" />
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/metadata/website-section.marko",
|
|
6
6
|
marko_component = require("./website-section.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_gql = require("graphql-tag"),
|
|
@@ -66,6 +66,8 @@ fragment WebsiteSectionPageMetadataFragment on WebsiteSection {
|
|
|
66
66
|
width: get(node, "logo.cropRectangle.width"),
|
|
67
67
|
height: get(node, "logo.cropRectangle.height")
|
|
68
68
|
},
|
|
69
|
+
noIndex: input.noIndex,
|
|
70
|
+
robots: input.robots,
|
|
69
71
|
};
|
|
70
72
|
|
|
71
73
|
common_tag(metadata, out, __component, "1");
|
|
@@ -83,7 +85,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
83
85
|
}, marko_component);
|
|
84
86
|
|
|
85
87
|
marko_template.meta = {
|
|
86
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
88
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/metadata/website-section.marko",
|
|
87
89
|
component: "./website-section.marko",
|
|
88
90
|
tags: [
|
|
89
91
|
"./components/common.marko",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/rel-canonical.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -38,5 +38,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
marko_template.meta = {
|
|
41
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
41
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/rel-canonical.marko"
|
|
42
42
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/title.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_utils_module = require("@mindful-web/utils"),
|
|
8
8
|
utils_module = module_utils_module.default || module_utils_module,
|
|
@@ -42,5 +42,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
marko_template.meta = {
|
|
45
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/title.marko"
|
|
46
46
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/page/wrapper.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_objectPath_module = require("@mindful-web/object-path"),
|
|
8
8
|
objectPath_module = module_objectPath_module.default || module_objectPath_module,
|
|
@@ -56,7 +56,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
marko_template.meta = {
|
|
59
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
59
|
+
id: "/@mindful-web/marko-web$1.89.4/components/page/wrapper.marko",
|
|
60
60
|
tags: [
|
|
61
61
|
"../element/index.marko"
|
|
62
62
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/resolve/page.marko",
|
|
6
6
|
marko_component = require("./page.marko"),
|
|
7
7
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
8
8
|
module_utils_module = require("@mindful-web/utils"),
|
|
@@ -41,7 +41,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
41
41
|
}, marko_component);
|
|
42
42
|
|
|
43
43
|
marko_template.meta = {
|
|
44
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
44
|
+
id: "/@mindful-web/marko-web$1.89.4/components/resolve/page.marko",
|
|
45
45
|
component: "./page.marko",
|
|
46
46
|
tags: [
|
|
47
47
|
"@mindful-web/marko-core/components/resolve.marko"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var marko_template = module.exports = require("marko/dist/html").t(__filename),
|
|
5
|
-
marko_componentType = "/@mindful-web/marko-web$1.89.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.89.4/components/rss/website-section.marko",
|
|
6
6
|
marko_renderer = require("marko/dist/runtime/components/renderer"),
|
|
7
7
|
module_url_module = require("url"),
|
|
8
8
|
url_module = module_url_module.default || module_url_module,
|
|
@@ -42,5 +42,5 @@ marko_template._ = marko_renderer(render, {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
marko_template.meta = {
|
|
45
|
-
id: "/@mindful-web/marko-web$1.89.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.89.4/components/rss/website-section.marko"
|
|
46
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindful-web/marko-web",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.4",
|
|
4
4
|
"description": "Core Marko+Express components for Mindful Web websites",
|
|
5
5
|
"author": "Jacob Bare <jacob@parameter1.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "bda73ff2ac505a294e44db8ce3882ce411485e05"
|
|
66
66
|
}
|