remove duplicate rule
This commit is contained in:
parent
5da80baca1
commit
6021564af9
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,7 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}) {
|
||||||
if (claim.tags) {
|
if (claim.tags) {
|
||||||
head += `<meta name="keywords" content="${claim.tags.toString()}"/>`;
|
head += `<meta name="keywords" content="${claim.tags.toString()}"/>`;
|
||||||
}
|
}
|
||||||
head += `<meta name="twitter:card" content="summary_large_image"/>`;
|
|
||||||
head += `<meta name="twitter:image" content="${claimThumbnail}"/>`;
|
head += `<meta name="twitter:image" content="${claimThumbnail}"/>`;
|
||||||
head += `<meta property="og:description" content="${description}"/>`;
|
head += `<meta property="og:description" content="${description}"/>`;
|
||||||
head += `<meta property="og:image" content="${claimThumbnail}"/>`;
|
head += `<meta property="og:image" content="${claimThumbnail}"/>`;
|
||||||
|
@ -102,6 +102,8 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}) {
|
||||||
head += `<meta name="twitter:player:width" content="${claim.frame_width}">`;
|
head += `<meta name="twitter:player:width" content="${claim.frame_width}">`;
|
||||||
head += `<meta name="twitter:player:height" content="${claim.frame_height}">`;
|
head += `<meta name="twitter:player:height" content="${claim.frame_height}">`;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
head += `<meta name="twitter:card" content="summary_large_image"/>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return head;
|
return head;
|
||||||
|
|
Loading…
Add table
Reference in a new issue