{# Displays a list of packages in a grid. packages - A list of packages to display. list_class - The class name for the list item. item_class - The class name to use on each item. banner - If true displays a popular banner (default: false). truncate - The length to trucate the description to (default: 120). title_truncate - The length to truncate the title to (default: 40). Example: {% snippet 'snippets/package_grid.html', packages=c.datasets[:4] %} #} {% set truncate = truncate or 120 %} {% set truncate_title = truncate_title or 40 %} {% if packages %} {% endif %}