changed url to source
This commit is contained in:
parent
651dd53139
commit
44af9f4063
2 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ const hbs = expressHandlebars.create({
|
|||
if (type === 'image') {
|
||||
return new Handlebars.SafeString(
|
||||
`<meta property="og:title" content="${title}"/>
|
||||
<meta property="og:url" content="${url}" />
|
||||
<meta property="og:url" content="${source}" />
|
||||
<meta property="og:site_name" content="Spee.ch" />
|
||||
<meta property="og:description" content="Spee.ch: open-source, decentralized content hosting." />
|
||||
<meta property="og:image" content="${source}" />
|
||||
|
@ -64,7 +64,7 @@ const hbs = expressHandlebars.create({
|
|||
} else if (type === 'video') {
|
||||
return new Handlebars.SafeString(
|
||||
`<meta property="og:title" content="${title}"/>
|
||||
<meta property="og:url" content="${url}" />
|
||||
<meta property="og:url" content="${source}" />
|
||||
<meta property="og:site_name" content="Spee.ch" />
|
||||
<meta property="og:description" content="Spee.ch: open-source, decentralized content hosting." />
|
||||
<meta property="og:image" content="https://spee.ch/assets/img/content-freedom-large.png" />
|
||||
|
|
|
@ -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#">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
|
||||
|
|
Loading…
Reference in a new issue