fix twitter tags for image
This commit is contained in:
parent
d7479821e9
commit
ee0869dce7
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
<title><%= filename %></title>
|
<title><%= filename %></title>
|
||||||
|
|
||||||
<% if (fileType !== 'file') { %>
|
<% if (fileType !== 'file') { %>
|
||||||
<% if (fileType === 'video' || fileType === 'image') { %>
|
<% if (fileType === 'video') { %>
|
||||||
<meta property="og:<%= fileType %>:width" content="320" />
|
<meta property="og:<%= fileType %>:width" content="320" />
|
||||||
<meta property="og:<%= fileType %>:height" content="180" />
|
<meta property="og:<%= fileType %>:height" content="180" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue