pull/15/head
tycrek 4 years ago
parent 4d56021b25
commit 2341f807bd
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -64,6 +64,8 @@ class OpenGraph {
view.color = (this.color.length != 0) ? `<meta name="theme-color" content="${this.color}">` : ''; view.color = (this.color.length != 0) ? `<meta name="theme-color" content="${this.color}">` : '';
view.card = !this.type.includes('video') ? `<meta name="twitter:card" content="summary_large_image">` : ''; view.card = !this.type.includes('video') ? `<meta name="twitter:card" content="summary_large_image">` : '';
//todo: og:description
return Mustache.render(html, view); return Mustache.render(html, view);
} }
} }

Loading…
Cancel
Save