add type to opengraph tags

This commit is contained in:
hippoz 2020-10-02 21:07:57 +03:00
parent 7c8c4cb606
commit 623d9a0f9a

View file

@ -11,6 +11,7 @@
<% if (fileType !== 'file') { %> <% if (fileType !== 'file') { %>
<meta property="og:<%= fileType %>" content="<%= fileUrl %>" /> <meta property="og:<%= fileType %>" content="<%= fileUrl %>" />
<meta property="og:<%= fileType %>:type" content="<%= mimeType %>" />
<% } %> <% } %>
</head> </head>
<body> <body>