refactor: more consistent tags to make it easier to iterate over, #524

This commit is contained in:
Jun Yang
2022-11-27 17:29:44 +08:00
parent 4e1a30a20c
commit 1380ac931a
19 changed files with 225 additions and 82 deletions
+13
View File
@@ -0,0 +1,13 @@
{% layout 'html.liquid' %}
<h1>{{ title | capitalize }}</h1>
<a>
{% if authed %} Sign out {{ username }}
{% else %} Sign in
{% endif %}
</a>
<ul>
{% for todo in todos %}
<p>{{ todo }}</p>
{% endfor %}
</ul>