Open graph #132

Merged
bones7242 merged 14 commits from open-graph into master 2017-08-08 07:09:36 +02:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 651dd53139 - Show all commits

View file

@ -59,9 +59,7 @@ const hbs = expressHandlebars.create({
<meta property="og:image:type" content="${mimeType}" />
<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="315" />
<meta property="og:type" content="article" />
<meta property="author" content="Spee.ch" />
<meta property="article:author" content="Spee.ch" />`
<meta property="og:type" content="article" />`
);
} else if (type === 'video') {
return new Handlebars.SafeString(

View file

@ -1,5 +1,5 @@
<!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>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">