From c5cc5086d00786cfb8696655ffbd95922dc5d68c Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 4 Apr 2016 11:04:38 -0300 Subject: Include onetime events in head --- scripts/calendar_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/calendar_plugin.py') diff --git a/scripts/calendar_plugin.py b/scripts/calendar_plugin.py index 8463ec1..af7408b 100644 --- a/scripts/calendar_plugin.py +++ b/scripts/calendar_plugin.py @@ -29,8 +29,8 @@ class CalendarPlugin: }).encode('utf-8') def _get_calendar_head(self): - return self.template_env.get_template('calendar.j2').render({ - 'events': self.events[:7], + return self.template_env.get_template('calendar_head.j2').render({ + 'events': self.events, 'class': 'calendar-head' }).encode('utf-8') -- cgit v1.2.1