Compare commits

...

2 Commits

Author SHA1 Message Date
654506559f add embeds 2024-09-16 21:52:05 +03:00
53706feca7 change stats 2024-09-16 21:38:34 +03:00
3 changed files with 9 additions and 1 deletions

View File

@ -36,3 +36,10 @@
</div>
{% endblock %}
{% block head %}
<meta property="og:title" content="{{file[2]}}">
<meta property="og:description" content="Expires at: {{file[5]|expirein}}">
{% if file[2].split('.')[-1] in ['png', 'jpg', 'jpeg', 'gif', 'webp'] %}
<meta property="og:image" content="https://files.fzorb.xyz/static/files/{{ file[1] }}.{{ file[2].split('.')[-1] }}">
{% endif %}
{% endblock %}

View File

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
{% block head %}{% endblock %}
</head>
<body>
{% block content %}{% endblock %}

View File

@ -1 +1 @@
<p class="subtle">{{ ""|totalfiles }} files uploaded // {{ ""|totalfilesize }} occupied</p>
<p class="subtle">Currently serving {{ ""|random|totalfiles }} files // {{ ""|totalfilesize }} occupied</p>