popular_items Function

Provides an array of items sorted by popularity. If not specified the function returns 10 items.

{% for item in popular_items({ page_size:20 }) %}
	{{ item.name }}
{% endfor %}