From 6e9e779095c96d2dd121b2d6b635fbe4f819a3d0 Mon Sep 17 00:00:00 2001 From: wez3 Date: Tue, 10 Jan 2017 22:47:20 +0100 Subject: [PATCH] Fix issue that occurs after flask updates --- templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 6022abb..f800a6e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,10 +3,11 @@ {% set count = 0 %} {% for block in blockArray %} + {% set count = loop.index - 1 %} {% for k, v in block.iteritems() %} {% include k + ".html" ignore missing %} {% endfor %} -{% set count = count + 1 %} {% endfor %} {% include 'footer.html' %} +