summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-04 11:04:38 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-04 11:04:38 -0300
commitc5cc5086d00786cfb8696655ffbd95922dc5d68c (patch)
tree9d4830dc5af572c703dc0be1d8e8797aef3d9494 /scripts
parentde724c6a5efafd575c25953ba4d824b05a9f7e21 (diff)
Include onetime events in head
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')