docs: demo for globals, for #286

This commit is contained in:
harttle
2020-12-22 23:19:09 +08:00
parent 626f911503
commit 7b909c22a1
4 changed files with 14 additions and 6 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
{%header content: "welcome to liquid" | capitalize%}
{% layout 'html.liquid' %}
{%header content: title | capitalize%}
<ul>
{% for todo in todos %}
<li>{{forloop.index}} - {{todo}}</li>
{% endfor %}
</ul>
</ul>