{% cache top_tags %} {% if top_tags %} {% set max_tag_count = top_tags[0].popularity or 1 %} {% set min_tag_count = (top_tags|last).popularity or 1 %} {# L10n: {0} is the current application name #}

{{ _('{0} Top Tags')|f(request.APP.pretty) }}

{% for tag in top_tags|list|shuffle if tag.tagstat %} {{ tag_link(tag, min_tag_count, max_tag_count) }} {% endfor %}
{% endif %} {% endcache %}