build for client #536
1 changed files with 26 additions and 0 deletions
|
@ -40,6 +40,9 @@ var createBasicMetaTags = function createBasicMetaTags(_ref) {
|
||||||
return [{
|
return [{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: siteTitle
|
content: siteTitle
|
||||||
|
}, {
|
||||||
|
property: 'twitter:title',
|
||||||
|
content: siteTitle
|
||||||
}, {
|
}, {
|
||||||
property: 'og:url',
|
property: 'og:url',
|
||||||
content: siteHost
|
content: siteHost
|
||||||
|
@ -49,6 +52,9 @@ var createBasicMetaTags = function createBasicMetaTags(_ref) {
|
||||||
}, {
|
}, {
|
||||||
property: 'og:description',
|
property: 'og:description',
|
||||||
content: siteDescription
|
content: siteDescription
|
||||||
|
}, {
|
||||||
|
property: 'twitter:description',
|
||||||
|
content: siteDescription
|
||||||
}, {
|
}, {
|
||||||
property: 'twitter:site',
|
property: 'twitter:site',
|
||||||
content: siteTwitter
|
content: siteTwitter
|
||||||
|
@ -58,6 +64,9 @@ var createBasicMetaTags = function createBasicMetaTags(_ref) {
|
||||||
}, {
|
}, {
|
||||||
property: 'og:image',
|
property: 'og:image',
|
||||||
content: defaultThumbnail
|
content: defaultThumbnail
|
||||||
|
}, {
|
||||||
|
property: 'twitter:image',
|
||||||
|
content: defaultThumbnail
|
||||||
}, {
|
}, {
|
||||||
property: 'og:image:type',
|
property: 'og:image:type',
|
||||||
content: 'image/jpeg'
|
content: 'image/jpeg'
|
||||||
|
@ -74,6 +83,9 @@ var createChannelMetaTags = function createChannelMetaTags(_ref2) {
|
||||||
return [{
|
return [{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: "".concat(name, " on ").concat(siteTitle)
|
content: "".concat(name, " on ").concat(siteTitle)
|
||||||
|
}, {
|
||||||
|
property: 'twitter:title',
|
||||||
|
content: "".concat(name, " on ").concat(siteTitle)
|
||||||
}, {
|
}, {
|
||||||
property: 'og:url',
|
property: 'og:url',
|
||||||
content: "".concat(siteHost, "/").concat(name, ":").concat(longId)
|
content: "".concat(siteHost, "/").concat(name, ":").concat(longId)
|
||||||
|
@ -111,6 +123,9 @@ var createAssetMetaTags = function createAssetMetaTags(_ref3) {
|
||||||
var metaTags = [{
|
var metaTags = [{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: ogTitle
|
content: ogTitle
|
||||||
|
}, {
|
||||||
|
property: 'twitter:title',
|
||||||
|
content: ogTitle
|
||||||
}, {
|
}, {
|
||||||
property: 'og:url',
|
property: 'og:url',
|
||||||
content: showUrl
|
content: showUrl
|
||||||
|
@ -120,6 +135,9 @@ var createAssetMetaTags = function createAssetMetaTags(_ref3) {
|
||||||
}, {
|
}, {
|
||||||
property: 'og:description',
|
property: 'og:description',
|
||||||
content: ogDescription
|
content: ogDescription
|
||||||
|
}, {
|
||||||
|
property: 'twitter:description',
|
||||||
|
content: ogDescription
|
||||||
}, {
|
}, {
|
||||||
property: 'og:image:width',
|
property: 'og:image:width',
|
||||||
content: 600
|
content: 600
|
||||||
|
@ -148,6 +166,10 @@ var createAssetMetaTags = function createAssetMetaTags(_ref3) {
|
||||||
property: 'og:image',
|
property: 'og:image',
|
||||||
content: ogThumbnail
|
content: ogThumbnail
|
||||||
});
|
});
|
||||||
|
metaTags.push({
|
||||||
|
property: 'twitter:image',
|
||||||
|
content: ogThumbnail
|
||||||
|
});
|
||||||
metaTags.push({
|
metaTags.push({
|
||||||
property: 'og:image:type',
|
property: 'og:image:type',
|
||||||
content: ogThumbnailContentType
|
content: ogThumbnailContentType
|
||||||
|
@ -189,6 +211,10 @@ var createAssetMetaTags = function createAssetMetaTags(_ref3) {
|
||||||
property: 'og:image',
|
property: 'og:image',
|
||||||
content: source
|
content: source
|
||||||
});
|
});
|
||||||
|
metaTags.push({
|
||||||
|
property: 'twitter:image',
|
||||||
|
content: source
|
||||||
|
});
|
||||||
metaTags.push({
|
metaTags.push({
|
||||||
property: 'og:image:type',
|
property: 'og:image:type',
|
||||||
content: contentType
|
content: contentType
|
||||||
|
|
Loading…
Reference in a new issue