{% from "addons/macros.html" import vital %} {% if addons %} {% set vital_type = {'updated': 'updated', 'created': 'created', 'rating': 'rating', 'popular': 'downloads', 'users': 'adu'}.get(sorting, 'adu') %} {% else %} {% include "search/no_results.html" %} {% endif %}