summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-05 12:34:42 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-05 12:34:42 -0300
commit5c85b3924a39f710f850f67491fb854b7ef78c8b (patch)
tree0636952169673e8012b0b047d7f6291f6d4c980a /template
parent1c9e140cdbb13e7ed8985ae60a1af7f9431a1def (diff)
Show two months at max
Diffstat (limited to 'template')
-rw-r--r--template/tabcalendar.j22
1 files changed, 1 insertions, 1 deletions
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 @@
<div class="calendar-table">
-{%- for month in months %}
+{%- for month in months[:2] %}
<h2>{{ month.date.strftime('%B %Y').decode('utf-8') }}</h2>
<table class="table table-striped">
<tr>