@mjhls/mjh-framework 1.0.1029-nofollow-test → 1.0.1029-nofollow-test-v2
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 +1 -1
- package/dist/esm/View.js +1 -1
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -2491,7 +2491,7 @@ var View = function View(props) {
|
|
|
2491
2491
|
metaDescriptionSanity ? React__default["default"].createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React__default["default"].createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
2492
2492
|
React__default["default"].createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
2493
2493
|
passwordLock && React__default["default"].createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
2494
|
-
!passwordLock && (article.applyNoIndexTag || article.
|
|
2494
|
+
!passwordLock && (article.applyNoIndexTag || article.applyNoFollowTag) && React__default["default"].createElement('meta', {
|
|
2495
2495
|
name: 'robots',
|
|
2496
2496
|
content: article.applyNoIndexTag && article.applyNoFollowTag ? 'noindex, nofollow' : article.applyNoIndexTag && !article.applyNoFollowTag ? 'noindex' : 'nofollow'
|
|
2497
2497
|
}),
|
package/dist/esm/View.js
CHANGED
|
@@ -2481,7 +2481,7 @@ var View = function View(props) {
|
|
|
2481
2481
|
metaDescriptionSanity ? React__default.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
2482
2482
|
React__default.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
2483
2483
|
passwordLock && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
2484
|
-
!passwordLock && (article.applyNoIndexTag || article.
|
|
2484
|
+
!passwordLock && (article.applyNoIndexTag || article.applyNoFollowTag) && React__default.createElement('meta', {
|
|
2485
2485
|
name: 'robots',
|
|
2486
2486
|
content: article.applyNoIndexTag && article.applyNoFollowTag ? 'noindex, nofollow' : article.applyNoIndexTag && !article.applyNoFollowTag ? 'noindex' : 'nofollow'
|
|
2487
2487
|
}),
|