26 lines
1020 B
HTML
26 lines
1020 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>{{ filename }} - sxbin</title>
|
||
|
<meta property="og:title" content="{{ filename }}">
|
||
|
<meta property="og:type" content="website">
|
||
|
<meta property="og:url" content="{{ request.url }}">
|
||
|
<meta property="og:description" content="File size: {{ file_size|filesizeformat }} | Uploaded by: {{ username }} | Date: {{ created_at.strftime('%Y-%m-%d %H:%M:%S') }}">
|
||
|
{% if is_image %}
|
||
|
<meta property="og:image" content="{{ file_url }}">
|
||
|
{% endif %}
|
||
|
<meta property="og:site_name" content="sxbin">
|
||
|
<meta property="theme-color" content="#4CAF50">
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>{{ filename }}</h1>
|
||
|
<p>File size: {{ file_size|filesizeformat }}</p>
|
||
|
<p>Uploaded by: {{ username }}</p>
|
||
|
<p>Date: {{ created_at.strftime('%Y-%m-%d %H:%M:%S') }}</p>
|
||
|
{% if is_image %}
|
||
|
<img src="{{ file_url }}" alt="{{ filename }}">
|
||
|
{% endif %}
|
||
|
</body>
|
||
|
</html>
|