mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 09:19:59 +00:00
parent
c967b831c6
commit
eabe13e20a
|
@ -40,6 +40,7 @@
|
||||||
<nyaa:categoryId>{{- cat_id }}</nyaa:categoryId>
|
<nyaa:categoryId>{{- cat_id }}</nyaa:categoryId>
|
||||||
<nyaa:category> {{- category_name(cat_id) }}</nyaa:category>
|
<nyaa:category> {{- category_name(cat_id) }}</nyaa:category>
|
||||||
<nyaa:size> {{- torrent.filesize | filesizeformat(True) }}</nyaa:size>
|
<nyaa:size> {{- torrent.filesize | filesizeformat(True) }}</nyaa:size>
|
||||||
|
<nyaa:comments> {{- torrent.comment_count }}</nyaa:comments>
|
||||||
{% set torrent_id = use_elastic and torrent.meta.id or torrent.id %}
|
{% set torrent_id = use_elastic and torrent.meta.id or torrent.id %}
|
||||||
<description><![CDATA[<a href="{{ url_for('torrents.view', torrent_id=torrent_id, _external=True) }}">#{{ torrent_id }} | {{ torrent.display_name }}</a> | {{ torrent.filesize | filesizeformat(True) }} | {{ category_name(cat_id) }} | {{ use_elastic and torrent.info_hash or torrent.info_hash_as_hex | upper }}]]></description>
|
<description><![CDATA[<a href="{{ url_for('torrents.view', torrent_id=torrent_id, _external=True) }}">#{{ torrent_id }} | {{ torrent.display_name }}</a> | {{ torrent.filesize | filesizeformat(True) }} | {{ category_name(cat_id) }} | {{ use_elastic and torrent.info_hash or torrent.info_hash_as_hex | upper }}]]></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -27,6 +27,9 @@
|
||||||
<li>
|
<li>
|
||||||
<p><code><nyaa:size></code> indicates the torrent's download size to one decimal place, using a magnitude prefix according to ISO/IEC 80000-13.</p>
|
<p><code><nyaa:size></code> indicates the torrent's download size to one decimal place, using a magnitude prefix according to ISO/IEC 80000-13.</p>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><code><nyaa:comments></code> holds the current amount of comments made on the respective torrent.</p>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue