summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/calendar_plugin.py4
1 files changed, 2 insertions, 2 deletions
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')