@mjhls/mjh-framework 1.0.575 → 1.0.576

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.575
2
+ # mjh-framework v. 1.0.576
3
3
 
4
4
  > Foundation Framework
5
5
 
package/dist/cjs/View.js CHANGED
@@ -1296,19 +1296,19 @@ var View = function View(props) {
1296
1296
  { key: 'title' },
1297
1297
  article.title + ' | ' + props.cache.siteSettingCache.name
1298
1298
  ),
1299
- React__default['default'].createElement('meta', { name: 'description', key: 'description', content: shareOptions.shareSummary }),
1299
+ React__default['default'].createElement('meta', { name: 'description', key: 'description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '' }),
1300
1300
  React__default['default'].createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
1301
1301
  passwordLock && React__default['default'].createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
1302
1302
  React__default['default'].createElement('meta', { property: 'og:url', content: shareOptions.shareUrl, key: 'og:url' }),
1303
1303
  React__default['default'].createElement('meta', { property: 'og:title', content: shareOptions.shareTitle, key: 'og:title' }),
1304
1304
  React__default['default'].createElement('meta', { property: 'og:image', content: shareOptions.shareImage, key: 'og:image' }),
1305
1305
  React__default['default'].createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
1306
- React__default['default'].createElement('meta', { property: 'og:description', content: shareOptions.shareSummary, key: 'og:description' }),
1306
+ React__default['default'].createElement('meta', { property: 'og:description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '', key: 'og:description' }),
1307
1307
  React__default['default'].createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
1308
1308
  React__default['default'].createElement('meta', { name: 'twitter:title', content: shareOptions.shareTitle, key: 'twitter:title' }),
1309
1309
  React__default['default'].createElement('meta', { name: 'twitter:image', content: shareOptions.shareImage, key: 'twitter:image' }),
1310
1310
  React__default['default'].createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
1311
- React__default['default'].createElement('meta', { name: 'twitter:description', content: shareOptions.shareSummary, key: 'twitter:description' }),
1311
+ React__default['default'].createElement('meta', { name: 'twitter:description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '', key: 'twitter:description' }),
1312
1312
  React__default['default'].createElement('link', { rel: 'canonical', href: shareOptions.shareUrl, key: 'canonical' }),
1313
1313
  React__default['default'].createElement(
1314
1314
  'noscript',
package/dist/esm/View.js CHANGED
@@ -1285,19 +1285,19 @@ var View = function View(props) {
1285
1285
  { key: 'title' },
1286
1286
  article.title + ' | ' + props.cache.siteSettingCache.name
1287
1287
  ),
1288
- React.createElement('meta', { name: 'description', key: 'description', content: shareOptions.shareSummary }),
1288
+ React.createElement('meta', { name: 'description', key: 'description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '' }),
1289
1289
  React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
1290
1290
  passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
1291
1291
  React.createElement('meta', { property: 'og:url', content: shareOptions.shareUrl, key: 'og:url' }),
1292
1292
  React.createElement('meta', { property: 'og:title', content: shareOptions.shareTitle, key: 'og:title' }),
1293
1293
  React.createElement('meta', { property: 'og:image', content: shareOptions.shareImage, key: 'og:image' }),
1294
1294
  React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
1295
- React.createElement('meta', { property: 'og:description', content: shareOptions.shareSummary, key: 'og:description' }),
1295
+ React.createElement('meta', { property: 'og:description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '', key: 'og:description' }),
1296
1296
  React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
1297
1297
  React.createElement('meta', { name: 'twitter:title', content: shareOptions.shareTitle, key: 'twitter:title' }),
1298
1298
  React.createElement('meta', { name: 'twitter:image', content: shareOptions.shareImage, key: 'twitter:image' }),
1299
1299
  React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
1300
- React.createElement('meta', { name: 'twitter:description', content: shareOptions.shareSummary, key: 'twitter:description' }),
1300
+ React.createElement('meta', { name: 'twitter:description', content: shareOptions.shareSummary ? shareOptions.shareSummary : '', key: 'twitter:description' }),
1301
1301
  React.createElement('link', { rel: 'canonical', href: shareOptions.shareUrl, key: 'canonical' }),
1302
1302
  React.createElement(
1303
1303
  'noscript',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.575",
3
+ "version": "1.0.576",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",