Add OG to calendar and summary with large image card property to all
This commit is contained in:
parent
b2332d7206
commit
9865b9a1f5
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,8 @@ const ogData = `
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:title" content="{{title}}">
|
<meta property="og:title" content="{{title}}">
|
||||||
<meta property="og:description" content="CryptPad: end-to-end encrypted collaboration suite">
|
<meta property="og:description" content="CryptPad: end-to-end encrypted collaboration suite">
|
||||||
<meta property="og:image" content="{{rootUrl}}/customize/images/opengraph_preview/{{image}}">`;
|
<meta property="og:image" content="{{rootUrl}}/customize/images/opengraph_preview/{{image}}">
|
||||||
|
<meta property="twitter:card" content="summary_large_image">`;
|
||||||
|
|
||||||
var previewExists = function (name) {
|
var previewExists = function (name) {
|
||||||
if (Fs.existsSync(__dirname + '/../customize/images/opengraph_preview/')) {
|
if (Fs.existsSync(__dirname + '/../customize/images/opengraph_preview/')) {
|
||||||
|
@ -114,6 +115,7 @@ var appIndexesToBuild = [
|
||||||
'whiteboard',
|
'whiteboard',
|
||||||
'slide',
|
'slide',
|
||||||
'file',
|
'file',
|
||||||
|
'calendar',
|
||||||
'drive',
|
'drive',
|
||||||
'teams'
|
'teams'
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue