@mjhls/mjh-framework 1.0.859-beta.0 → 1.0.859-beta.1
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/dist/cjs/View.js +6 -1
- package/dist/esm/View.js +6 -1
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -510,7 +510,12 @@ function generateSchema(props) {
|
|
|
510
510
|
url: 'https://' + liveDomain + logo
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
}, articleSection && { articleSection: articleSection }, seoTag && seoTag.length > 0 && { keywords: seoTag.join() }, body && body.length > 0 && { articleBody: toPlainText(body) }, summary && { description: summary }, liveDomain && url && url.current && {
|
|
513
|
+
}, articleSection && { articleSection: articleSection }, seoTag && seoTag.length > 0 && { keywords: seoTag.join() }, body && body.length > 0 && { articleBody: toPlainText(body) }, summary && { description: summary }, liveDomain && url && url.current && {
|
|
514
|
+
mainEntityOfPage: {
|
|
515
|
+
'@type': 'WebPage',
|
|
516
|
+
'@id': 'https://' + liveDomain + '/view/' + url.current
|
|
517
|
+
}
|
|
518
|
+
}, authors && authors.length > 0 && { author: authors });
|
|
514
519
|
}
|
|
515
520
|
return null;
|
|
516
521
|
}
|
package/dist/esm/View.js
CHANGED
|
@@ -504,7 +504,12 @@ function generateSchema(props) {
|
|
|
504
504
|
url: 'https://' + liveDomain + logo
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
}, articleSection && { articleSection: articleSection }, seoTag && seoTag.length > 0 && { keywords: seoTag.join() }, body && body.length > 0 && { articleBody: toPlainText(body) }, summary && { description: summary }, liveDomain && url && url.current && {
|
|
507
|
+
}, articleSection && { articleSection: articleSection }, seoTag && seoTag.length > 0 && { keywords: seoTag.join() }, body && body.length > 0 && { articleBody: toPlainText(body) }, summary && { description: summary }, liveDomain && url && url.current && {
|
|
508
|
+
mainEntityOfPage: {
|
|
509
|
+
'@type': 'WebPage',
|
|
510
|
+
'@id': 'https://' + liveDomain + '/view/' + url.current
|
|
511
|
+
}
|
|
512
|
+
}, authors && authors.length > 0 && { author: authors });
|
|
508
513
|
}
|
|
509
514
|
return null;
|
|
510
515
|
}
|