feature: treat top-level content as anonymous block, fixes #45

This commit is contained in:
harttle
2017-11-06 00:14:33 +08:00
parent 4e132ca1c5
commit be00f1d385
3 changed files with 32 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{% layout 'layout' %}
<ul>
{% for todo in todolist %}
{% for todo in todos %}
<li>{% include 'todo' id=forloop.index %}</li>
{% endfor %}
</ul>