{# get events by taxonomy #} {% set events = page.collection({ 'items': { '@taxonomy': { 'type': 'event', } }, 'dateRange': { 'start': datetools.today|date('m/d/Y'), 'end': datetools.parseDate('+3 months')|date('m/d/Y') }, 'order': { 'by': 'date', 'dir': 'asc' }, 'limit': 4, 'pagination': true }) %}