diff --git a/nyaa/templates/search_results.html b/nyaa/templates/search_results.html index 92608c7..f169b6f 100644 --- a/nyaa/templates/search_results.html +++ b/nyaa/templates/search_results.html @@ -60,7 +60,7 @@ {% if use_elastic %} - {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} + {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} {% else %} {{ torrent.display_name | escape }} {% endif %} @@ -74,7 +74,7 @@ {{ torrent.filesize | filesizeformat(True) }} {% if use_elastic %} - {{ torrent.created_time | display_time }} + {{ torrent.created_time | display_time }} {% else %} {{ torrent.created_time.strftime('%Y-%m-%d %H:%M') }} {% endif %}