From 5c85b3924a39f710f850f67491fb854b7ef78c8b Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 5 Apr 2016 12:34:42 -0300 Subject: Show two months at max --- template/tabcalendar.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') diff --git a/template/tabcalendar.j2 b/template/tabcalendar.j2 index 3036a6e..676ab8f 100644 --- a/template/tabcalendar.j2 +++ b/template/tabcalendar.j2 @@ -1,5 +1,5 @@
-{%- for month in months %} +{%- for month in months[:2] %}

{{ month.date.strftime('%B %Y').decode('utf-8') }}

-- cgit v1.2.1