message no. 15183
Posted by anth0ny_ in #jekyll at 2013-12-19T06:31:02Z
I'm listing a bunch of events (each event is a post). I want two sections on one page: upcoming events and past events. I've found that I can do {% if event.date > site.time %} when iterating through events, but that puts any event that occurs today in the "past events" section since all the event times are set to 00:00:00. Is there a way to do something like {% if event.date + 1_DAY > site.time %} ?