diff --git a/templates/info.html.tera b/templates/info.html.tera index ea82892..8125c44 100644 --- a/templates/info.html.tera +++ b/templates/info.html.tera @@ -1,27 +1,23 @@ {% extends "layout/default" %} {% block content %} - {% if torrent %} +
+

{% if torrent.name %}{{ torrent.name }}{% else %}{{ info_hash }}{% endif %}

+ {% if torrent.comment %}

{{ torrent.comment }}

{% endif %} +
+
-

{% if torrent.name %}{{ torrent.name }}{% else %}{{ info_hash }}{% endif %}

- {% if torrent.comment %}

{{ torrent.comment }}

{% endif %} -
-
    -
  • {{ torrent.indexed }}
  • - {% if torrent.created %}
  • ({{ torrent.created }})
  • {% endif %} - {% if torrent.size %}
  • {{ torrent.size }}
  • {% endif %} -
  • {{ torrent.files }}
  • - {% if torrent.scrape %} -
  • {{ torrent.scrape.seeders }}
  • -
  • {{ torrent.scrape.peers }}
  • -
  • {{ torrent.scrape.leechers }}
  • - {% endif %} -
-
- -
-
+
- {% else %} -
Nothing.
- {% endif %} +
+
{% endblock content %} \ No newline at end of file