Open graph #132
2 changed files with 2 additions and 4 deletions
|
@ -59,9 +59,7 @@ const hbs = expressHandlebars.create({
|
||||||
<meta property="og:image:type" content="${mimeType}" />
|
<meta property="og:image:type" content="${mimeType}" />
|
||||||
<meta property="og:image:width" content="600" />
|
<meta property="og:image:width" content="600" />
|
||||||
<meta property="og:image:height" content="315" />
|
<meta property="og:image:height" content="315" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />`
|
||||||
<meta property="author" content="Spee.ch" />
|
|
||||||
<meta property="article:author" content="Spee.ch" />`
|
|
||||||
);
|
);
|
||||||
} else if (type === 'video') {
|
} else if (type === 'video') {
|
||||||
return new Handlebars.SafeString(
|
return new Handlebars.SafeString(
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" prefix="og: http://ogp.me/ns#">
|
<html lang="en" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
|
||||||
|
|
Loading…
Reference in a new issue