add embeds
This commit is contained in:
parent
53706feca7
commit
654506559f
@ -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 %}
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user