move tags... maybe that will help the image being too small? probably not

This commit is contained in:
hippoz 2020-10-02 21:50:31 +03:00
parent 6fec04d94b
commit 358486f824

View file

@ -6,11 +6,6 @@
<title><%= filename %></title>
<% 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') { %>
<meta name="twitter:card" content="player" />
<meta name="twitter:site" content="@harry" />
@ -25,6 +20,10 @@
<meta property="og:<%= fileType %>:url" content="<%= fileUrl %>" />
<meta property="og:<%= fileType %>:secure_url" content="<%= fileUrl %>" />
<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>
<body>