Current trip summary on index page

Closes: #169
This commit is contained in:
Edward Betts 2025-01-11 15:29:07 -06:00
parent 5ee0dc9c8d
commit c3be926ff7
2 changed files with 5 additions and 10 deletions

View file

@ -102,7 +102,8 @@ async def index() -> str:
"event_list.html",
today=today,
events=events,
current_trip=get_current_trip(now.date()),
get_country=agenda.get_country,
current_trip=get_current_trip(today),
fullcalendar_events=calendar.build_events(events),
start_event_list=date.today() - timedelta(days=1),
end_event_list=date.today() + timedelta(days=365 * 2),