I’m attempting to create a custom list of events for my Squarespace website. I would like to show the events separated by the month in which they are happening. For example, I will have a header that says “June” and then list all of the events that are happening in June below it. I would love to do this in the template code rather than by using an archive block so that I can customize the list to show the exact elements that I need. The code below shows my attempt to display the items that I want from events that happen in June however, the other image is my result. My .equal? predicate isn’t working in the way that I intended. If anyone could help me with this, I would greatly appreciate it.
<div class="events_month_loop">
 {.repeated section items}
   {.equal?:{startDate|date %B:"June"}
     <div id="events-{id}">
       <div class="event_info">
         <a href="{fullUrl}">Event Link</a>
       </div>
      </div>
    {.end}
  {.or}
    <p>No events in June</p>
  {.end}
</div>