{# Product catalog item — overrides core snippets/package_item.html. Keeps the same block structure as the original for compatibility. package - A package to display. item_class - The class name to use on the list item. hide_resources - If true hides the resources (default: false). #} {% set title = package.title or package.name %} {% set notes = h.markdown_extract(package.notes, extract_length=200) %} {% block package_item %}
{{ notes|urlize }}
{% else %}{{ h.humanize_entity_type('package', package.type, 'no description') or _("No description available.") }}
{% endif %} {% endblock %} {% block resources %} {% if package.resources and not hide_resources %} {% block resources_outer %}