{% set url = h.url_for(controller='package', action='resource_read', id=pkg.name, resource_id=res.id) %}
{{ _(h.resource_display_name(res)) if _(h.resource_display_name(res)) != _('Unnamed resource') else res.url | truncate(50) }}{{ res.format }} {{ h.popular('views', res.tracking_summary.total, min=10) if res.tracking_summary}}
{% endif %} {% endblock %}{% if res.url != 'http://' and h.resource_display_name(res) != 'http://' %} {% if res.description %} {{ h.markdown_extract(_(res.description), extract_length=80) }} {% else %} {#{{ _('No description available') }}#} {% endif %} {% endif %}
{% if res.url != 'http://' and h.resource_display_name(res) != 'http://' %} {% endif %}