{% extends 'default/layout.html.twig' %} {% block title %}{% if query %}{{ query }}{% else %}{{ 'New' | trans }}{% endif %} - {{ 'Torrents' | trans }} - {{ name }}{% endblock %} {% block main_content %} {% if torrents %} {% for torrent in torrents %}