47 lines
2.1 KiB
Text
47 lines
2.1 KiB
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= name %> - <%= config["meta"]["name"] %></title>
|
|
<%- include("../../partial/html-head")%>
|
|
<link href="/css/file.css" rel="stylesheet">
|
|
<meta property="og:site_name" content="<%= config.meta.name %>">
|
|
|
|
<meta name="title" content="<%= name %> on <%= config.meta.name %>">
|
|
<meta property="og:title" content="<%= name %> on <%= config.meta.name %>">
|
|
<meta property="twitter:title" content="<%= name %> on <%= config.meta.name %>">
|
|
|
|
<meta name="description" content="A <%= file.humanSize %> <%= file.mime %> file.">
|
|
<meta property="og:description" content="A <%= file.humanSize %> <%= file.mime %> file.">
|
|
<meta property="twitter:description" content="A <%= file.humanSize %> <%= file.mime %> file.">
|
|
|
|
<meta name="author" content="<%= uploaderName %>">
|
|
<meta property="og:author" content="<%= uploaderName %>">
|
|
|
|
<meta property="og:type" content="website">
|
|
</head>
|
|
<body>
|
|
<%- include("../../partial/header") %>
|
|
<div class="modal">
|
|
<% if (
|
|
name.split(".")[name.split(".").length - 1] == "exe" ||
|
|
name.split(".")[name.split(".").length - 1] == "zip" ||
|
|
name.split(".")[name.split(".").length - 1] == "bat" ||
|
|
name.split(".")[name.split(".").length - 1] == "sh" ||
|
|
name.split(".")[name.split(".").length - 1] == "gz" ||
|
|
name.split(".")[name.split(".").length - 1] == "7z" ||
|
|
name.split(".")[name.split(".").length - 1] == "tar" ||
|
|
name.split(".")[name.split(".").length - 1] == "xpi" ||
|
|
name.split(".")[name.split(".").length - 1] == "crx" ||
|
|
name.split(".")[name.split(".").length - 1] == "apk" ||
|
|
name.split(".")[name.split(".").length - 1] == "xapk"
|
|
) { %>
|
|
<div class="err">
|
|
<p><a href="/"><%= config["meta"]["name"]%></a> does not currently scan files for viruses. Please be sure to trust the uploader of this file.</p>
|
|
</div>
|
|
<% } %>
|
|
<%- include("../../partial/file-metadata-block") %>
|
|
</div>
|
|
<%- include("../../partial/footer") %>
|
|
<script src="/js/date.js"></script>
|
|
</body>
|
|
</html> |