23 lines
726 B
Text
23 lines
726 B
Text
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title><%= filename %></title>
|
||
|
|
||
|
<meta property="og:title" content="<%= filename %>" />
|
||
|
<meta property="og:description" content="Just a file..." />
|
||
|
<meta property="og:site_name" content="hippoz.xyz" />
|
||
|
|
||
|
<% if (fileType !== 'file') { %>
|
||
|
<meta property="og:<%= fileType %>" content="<%= fileUrl %>" />
|
||
|
<% } %>
|
||
|
</head>
|
||
|
<body>
|
||
|
<% if (fileType !== 'file' && fileType !== 'image') { %>
|
||
|
<<%= fileType %> controls name="media" />
|
||
|
<source src="<%= fileUrl %>" type="<%= mimeType %>">
|
||
|
</<%= fileType %>>
|
||
|
<% } %>
|
||
|
</body>
|
||
|
</html>
|