add descriptions again

This commit is contained in:
Alexandru 2024-09-17 07:04:46 +03:00
parent 9d09ca6352
commit 99396826d3

View File

@ -3,7 +3,7 @@
<div class="container">
{% include 'nav.html' %}
<h2 class="center">{{file[2]}}</h2>
<p class="center">Expires at: {{file[5]|expirein}}</p>
<p class="center">Expires at: {{file[5]|expirein}} GMT</p>
<div class="filebox">
<div class="box">
{% if file[2].split('.')[-1] in ['png', 'jpg', 'jpeg', 'gif', 'webp'] %}
@ -38,6 +38,7 @@
{% endblock %}
{% block head %}
<meta property="og:title" content="{{file[2]}}">
<meta property="og:description" content="Expires at: {{file[5]|expirein}} GMT">
{% 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 %}