@mindful-web/marko-web 1.50.0 → 1.56.3
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 +1 -1
- package/components/page/layouts/content.marko.js +4 -3
- package/components/page/layouts/default.marko +1 -1
- package/components/page/layouts/default.marko.js +4 -3
- package/components/page/layouts/dynamic-page.marko +1 -1
- package/components/page/layouts/dynamic-page.marko.js +3 -2
- package/components/page/layouts/magazine-issue.marko +1 -1
- package/components/page/layouts/magazine-issue.marko.js +3 -2
- package/components/page/layouts/magazine-publication.marko +1 -1
- package/components/page/layouts/magazine-publication.marko.js +3 -2
- package/components/page/layouts/marko.json +12 -6
- package/components/page/layouts/website-section.marko +1 -1
- package/components/page/layouts/website-section.marko.js +3 -2
- package/components/page/metadata/components/common.marko.js +2 -2
- package/components/page/metadata/content.marko.js +2 -2
- 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/website-section.marko.js +2 -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
- package/utils/embedded-media/oembed.js +8 -1
- package/utils/embedded-media/youtube-url.js +15 -0
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
121
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
25
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
114
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/image.marko",
|
|
115
115
|
tags: [
|
|
116
116
|
"../element/image/display-name.marko",
|
|
117
117
|
"../element/img.marko",
|
|
@@ -16,7 +16,7 @@ $ const { document } = out.global;
|
|
|
16
16
|
</@head>
|
|
17
17
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
18
18
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
19
|
-
<@page for="content" tag="article" id=id
|
|
19
|
+
<@page for="content" tag="article" id=id attrs=input.attrs class=input.class type=type>
|
|
20
20
|
<${input.page} />
|
|
21
21
|
</@page>
|
|
22
22
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -39,8 +39,9 @@ function render(input, out, __component, component, state) {
|
|
|
39
39
|
for: "content",
|
|
40
40
|
tag: "article",
|
|
41
41
|
id: id,
|
|
42
|
-
type: type,
|
|
43
42
|
attrs: input.attrs,
|
|
43
|
+
class: input.class,
|
|
44
|
+
type: type,
|
|
44
45
|
renderBody: function(out) {
|
|
45
46
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "6");
|
|
46
47
|
}
|
|
@@ -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.
|
|
60
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/content.marko",
|
|
60
61
|
tags: [
|
|
61
62
|
"../metadata/content.marko"
|
|
62
63
|
]
|
|
@@ -13,7 +13,7 @@ $ const { document } = out.global;
|
|
|
13
13
|
</@head>
|
|
14
14
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
15
15
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
16
|
-
<@page
|
|
16
|
+
<@page class=input.class attrs=input.attrs for=type>
|
|
17
17
|
<${input.page} />
|
|
18
18
|
</@page>
|
|
19
19
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -37,8 +37,9 @@ function render(input, out, __component, component, state) {
|
|
|
37
37
|
abovePage: input.abovePage,
|
|
38
38
|
belowPage: input.belowPage,
|
|
39
39
|
page: {
|
|
40
|
-
|
|
40
|
+
class: input.class,
|
|
41
41
|
attrs: input.attrs,
|
|
42
|
+
for: type,
|
|
42
43
|
renderBody: function(out) {
|
|
43
44
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "6");
|
|
44
45
|
}
|
|
@@ -54,7 +55,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
54
55
|
});
|
|
55
56
|
|
|
56
57
|
marko_template.meta = {
|
|
57
|
-
id: "/@mindful-web/marko-web$1.
|
|
58
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/default.marko",
|
|
58
59
|
tags: [
|
|
59
60
|
"../metadata/default.marko"
|
|
60
61
|
]
|
|
@@ -12,7 +12,7 @@ $ const { document } = out.global;
|
|
|
12
12
|
</@head>
|
|
13
13
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
14
14
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
15
|
-
<@page for="dynamic-page" id=id attrs=input.attrs>
|
|
15
|
+
<@page for="dynamic-page" id=id attrs=input.attrs class=input.class>
|
|
16
16
|
<${input.page} />
|
|
17
17
|
</@page>
|
|
18
18
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -37,6 +37,7 @@ function render(input, out, __component, component, state) {
|
|
|
37
37
|
for: "dynamic-page",
|
|
38
38
|
id: id,
|
|
39
39
|
attrs: input.attrs,
|
|
40
|
+
class: input.class,
|
|
40
41
|
renderBody: function(out) {
|
|
41
42
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "6");
|
|
42
43
|
}
|
|
@@ -52,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
marko_template.meta = {
|
|
55
|
-
id: "/@mindful-web/marko-web$1.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/dynamic-page.marko",
|
|
56
57
|
tags: [
|
|
57
58
|
"../metadata/dynamic-page.marko"
|
|
58
59
|
]
|
|
@@ -12,7 +12,7 @@ $ const { document } = out.global;
|
|
|
12
12
|
</@head>
|
|
13
13
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
14
14
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
15
|
-
<@page for="magazine-issue" id=id attrs=input.attrs>
|
|
15
|
+
<@page for="magazine-issue" id=id attrs=input.attrs class=input.class>
|
|
16
16
|
<${input.page} />
|
|
17
17
|
</@page>
|
|
18
18
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -37,6 +37,7 @@ function render(input, out, __component, component, state) {
|
|
|
37
37
|
for: "magazine-issue",
|
|
38
38
|
id: id,
|
|
39
39
|
attrs: input.attrs,
|
|
40
|
+
class: input.class,
|
|
40
41
|
renderBody: function(out) {
|
|
41
42
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "6");
|
|
42
43
|
}
|
|
@@ -52,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
marko_template.meta = {
|
|
55
|
-
id: "/@mindful-web/marko-web$1.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/magazine-issue.marko",
|
|
56
57
|
tags: [
|
|
57
58
|
"../metadata/magazine-issue.marko"
|
|
58
59
|
]
|
|
@@ -12,7 +12,7 @@ $ const { document } = out.global;
|
|
|
12
12
|
</@head>
|
|
13
13
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
14
14
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
15
|
-
<@page for="magazine-publication" id=id attrs=input.attrs>
|
|
15
|
+
<@page for="magazine-publication" id=id attrs=input.attrs class=input.class>
|
|
16
16
|
<${input.page} />
|
|
17
17
|
</@page>
|
|
18
18
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -37,6 +37,7 @@ function render(input, out, __component, component, state) {
|
|
|
37
37
|
for: "magazine-publication",
|
|
38
38
|
id: id,
|
|
39
39
|
attrs: input.attrs,
|
|
40
|
+
class: input.class,
|
|
40
41
|
renderBody: function(out) {
|
|
41
42
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "6");
|
|
42
43
|
}
|
|
@@ -52,7 +53,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
marko_template.meta = {
|
|
55
|
-
id: "/@mindful-web/marko-web$1.
|
|
56
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/magazine-publication.marko",
|
|
56
57
|
tags: [
|
|
57
58
|
"../metadata/magazine-publication.marko"
|
|
58
59
|
]
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"@type": "string",
|
|
12
12
|
"@title": "string",
|
|
13
13
|
"@description": "string",
|
|
14
|
-
"@attrs": "object"
|
|
14
|
+
"@attrs": "object",
|
|
15
|
+
"@class": "string"
|
|
15
16
|
},
|
|
16
17
|
"<marko-web-website-section-page-layout>": {
|
|
17
18
|
"template": "./website-section.marko",
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
"type": "boolean",
|
|
30
31
|
"default-value": true
|
|
31
32
|
},
|
|
32
|
-
"@attrs": "object"
|
|
33
|
+
"@attrs": "object",
|
|
34
|
+
"@class": "string"
|
|
33
35
|
},
|
|
34
36
|
"<marko-web-content-page-layout>": {
|
|
35
37
|
"template": "./content.marko",
|
|
@@ -44,7 +46,8 @@
|
|
|
44
46
|
"@build-structured-data": "function",
|
|
45
47
|
"@id": "number",
|
|
46
48
|
"@type": "string",
|
|
47
|
-
"@attrs": "object"
|
|
49
|
+
"@attrs": "object",
|
|
50
|
+
"@class": "string"
|
|
48
51
|
},
|
|
49
52
|
"<marko-web-dynamic-page-layout>": {
|
|
50
53
|
"template": "./dynamic-page.marko",
|
|
@@ -57,7 +60,8 @@
|
|
|
57
60
|
"<below-page>": {},
|
|
58
61
|
"@id": "string",
|
|
59
62
|
"@alias": "string",
|
|
60
|
-
"@attrs": "object"
|
|
63
|
+
"@attrs": "object",
|
|
64
|
+
"@class": "string"
|
|
61
65
|
},
|
|
62
66
|
"<marko-web-magazine-issue-page-layout>": {
|
|
63
67
|
"template": "./magazine-issue.marko",
|
|
@@ -69,7 +73,8 @@
|
|
|
69
73
|
"<above-page>": {},
|
|
70
74
|
"<below-page>": {},
|
|
71
75
|
"@id": "number",
|
|
72
|
-
"@attrs": "object"
|
|
76
|
+
"@attrs": "object",
|
|
77
|
+
"@class": "string"
|
|
73
78
|
},
|
|
74
79
|
"<marko-web-magazine-publication-page-layout>": {
|
|
75
80
|
"template": "./magazine-publication.marko",
|
|
@@ -81,6 +86,7 @@
|
|
|
81
86
|
"<above-page>": {},
|
|
82
87
|
"<below-page>": {},
|
|
83
88
|
"@id": "number",
|
|
84
|
-
"@attrs": "object"
|
|
89
|
+
"@attrs": "object",
|
|
90
|
+
"@class": "string"
|
|
85
91
|
}
|
|
86
92
|
}
|
|
@@ -18,7 +18,7 @@ $ const withRss = input.withRss != null ? input.withRss : true;
|
|
|
18
18
|
</@head>
|
|
19
19
|
<!-- Note: camelcased vars due to nest input of dynamic document. perhaps a marko bug -->
|
|
20
20
|
<@container abovePage=input.abovePage belowPage=input.belowPage>
|
|
21
|
-
<@page for="website-section" id=id attrs=input.attrs>
|
|
21
|
+
<@page for="website-section" id=id attrs=input.attrs class=input.class>
|
|
22
22
|
<${input.page} />
|
|
23
23
|
</@page>
|
|
24
24
|
</@container>
|
|
@@ -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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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,
|
|
@@ -55,6 +55,7 @@ function render(input, out, __component, component, state) {
|
|
|
55
55
|
for: "website-section",
|
|
56
56
|
id: id,
|
|
57
57
|
attrs: input.attrs,
|
|
58
|
+
class: input.class,
|
|
58
59
|
renderBody: function(out) {
|
|
59
60
|
marko_dynamicTag(out, input.page, null, null, null, null, __component, "7");
|
|
60
61
|
}
|
|
@@ -70,7 +71,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
70
71
|
});
|
|
71
72
|
|
|
72
73
|
marko_template.meta = {
|
|
73
|
-
id: "/@mindful-web/marko-web$1.
|
|
74
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/layouts/website-section.marko",
|
|
74
75
|
tags: [
|
|
75
76
|
"../metadata/website-section.marko",
|
|
76
77
|
"../../rss/website-section.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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -107,7 +107,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
107
107
|
}, marko_component);
|
|
108
108
|
|
|
109
109
|
marko_template.meta = {
|
|
110
|
-
id: "/@mindful-web/marko-web$1.
|
|
110
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/metadata/components/common.marko",
|
|
111
111
|
component: "./common.marko",
|
|
112
112
|
tags: [
|
|
113
113
|
"../../title.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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -213,7 +213,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
213
213
|
}, marko_component);
|
|
214
214
|
|
|
215
215
|
marko_template.meta = {
|
|
216
|
-
id: "/@mindful-web/marko-web$1.
|
|
216
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/metadata/content.marko",
|
|
217
217
|
component: "./content.marko",
|
|
218
218
|
tags: [
|
|
219
219
|
"./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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
25
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
78
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
77
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
73
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/metadata/magazine-publication.marko",
|
|
74
74
|
component: "./magazine-publication.marko",
|
|
75
75
|
tags: [
|
|
76
76
|
"./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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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"),
|
|
@@ -83,7 +83,7 @@ marko_template._ = marko_renderer(render, {
|
|
|
83
83
|
}, marko_component);
|
|
84
84
|
|
|
85
85
|
marko_template.meta = {
|
|
86
|
-
id: "/@mindful-web/marko-web$1.
|
|
86
|
+
id: "/@mindful-web/marko-web$1.56.3/components/page/metadata/website-section.marko",
|
|
87
87
|
component: "./website-section.marko",
|
|
88
88
|
tags: [
|
|
89
89
|
"./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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
41
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
59
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
44
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
5
|
+
marko_componentType = "/@mindful-web/marko-web$1.56.3/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.
|
|
45
|
+
id: "/@mindful-web/marko-web$1.56.3/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.
|
|
3
|
+
"version": "1.56.3",
|
|
4
4
|
"description": "Core Marko+Express components for Mindful Web websites",
|
|
5
5
|
"author": "Jacob Bare <jacob@parameter1.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c53c25bdca9d4c263ad7a658c0cf1acb813d5073"
|
|
64
64
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
const BrowserComponent = require('../../components/browser-component');
|
|
2
2
|
const facebook = require('./facebook-oembed');
|
|
3
3
|
const instagram = require('./instagram-oembed');
|
|
4
|
+
const youtube = require('./youtube-url');
|
|
4
5
|
|
|
5
6
|
module.exports = (tag, $global) => {
|
|
6
7
|
const { config } = $global;
|
|
7
8
|
const url = tag.id;
|
|
8
9
|
const facebookPost = facebook(url);
|
|
9
10
|
const instagramPost = instagram(url);
|
|
10
|
-
const
|
|
11
|
+
const youtubeUrl = youtube(url);
|
|
12
|
+
const props = {
|
|
13
|
+
mountPoint: config.oembedMountPoint(),
|
|
14
|
+
url,
|
|
15
|
+
...(youtubeUrl && { url: youtubeUrl }),
|
|
16
|
+
attrs: tag.attrs,
|
|
17
|
+
};
|
|
11
18
|
if (facebookPost) {
|
|
12
19
|
return facebookPost;
|
|
13
20
|
}
|