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' %} +