I'm looking for documentation on how to use operators in hashes in Twig. Someone mentioned this in the Google+ support group the other day and I was unable to find any docs or examples.
{% set eventParams = {
section : 'events',
order : 'startDateTime asc',
startDateTime : '>= '~now
} %}
If I wanted the startDateTime hash to use a range of dates, say ( >= now
and <= now + 5 days
) how would I specify that in the startDateTime hash?
Is this a hash syntax that is specific to Twig?