remove extra condition

This commit is contained in:
yggverse 2025-08-09 06:55:49 +03:00
parent 2fc9535710
commit c84e0ffbdb

View file

@ -1,7 +1,6 @@
{% extends "layout/default" %}
{% block content %}
{% if torrent %}
<div>
<div>
<h1>{% if torrent.name %}{{ torrent.name }}{% else %}{{ info_hash }}{% endif %}</h1>
{% if torrent.comment %}<p>{{ torrent.comment }}</p>{% endif %}
<div>
@ -20,8 +19,5 @@
<a rel="nofollow" href="{{ torrent.magnet }}" title="Get magnet" class="action magnet"></a>
</div>
</div>
</div>
{% else %}
<div>Nothing.</div>
{% endif %}
</div>
{% endblock content %}