move tags... maybe that will help the image being too small? probably not
This commit is contained in:
parent
6fec04d94b
commit
358486f824
1 changed files with 4 additions and 5 deletions
|
@ -6,11 +6,6 @@
|
||||||
<title><%= filename %></title>
|
<title><%= filename %></title>
|
||||||
|
|
||||||
<% if (fileType !== 'file') { %>
|
<% if (fileType !== 'file') { %>
|
||||||
<% if (fileType === 'video' || fileType === 'image') { %>
|
|
||||||
<meta property="og:<%= fileType %>:width" content="320" />
|
|
||||||
<meta property="og:<%= fileType %>:height" content="180" />
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
<% if (fileType === 'video') { %>
|
<% if (fileType === 'video') { %>
|
||||||
<meta name="twitter:card" content="player" />
|
<meta name="twitter:card" content="player" />
|
||||||
<meta name="twitter:site" content="@harry" />
|
<meta name="twitter:site" content="@harry" />
|
||||||
|
@ -25,6 +20,10 @@
|
||||||
<meta property="og:<%= fileType %>:url" content="<%= fileUrl %>" />
|
<meta property="og:<%= fileType %>:url" content="<%= fileUrl %>" />
|
||||||
<meta property="og:<%= fileType %>:secure_url" content="<%= fileUrl %>" />
|
<meta property="og:<%= fileType %>:secure_url" content="<%= fileUrl %>" />
|
||||||
<meta property="og:<%= fileType %>:type" content="<%= mimeType %>" />
|
<meta property="og:<%= fileType %>:type" content="<%= mimeType %>" />
|
||||||
|
<% if (fileType === 'video' || fileType === 'image') { %>
|
||||||
|
<meta property="og:<%= fileType %>:width" content="320" />
|
||||||
|
<meta property="og:<%= fileType %>:height" content="180" />
|
||||||
|
<% } %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue