<a href="/">Blog</a>
</header>
<main>
- {{#posts}}
- <article id="{{id}}">
- {{{html}}}
+ {{~ it.posts: post}}
+ <article id="{{= post.id}}">
+ {{= post.html}}
</article>
<hr>
- {{/posts}}
- {{^posts}}
+ {{~}}
+ {{? it.posts}}
<h1>This is a fresh blog!</h1>
<p>There are no posts yet.</p>
- {{/posts}}
+ {{?}}
</main>
<footer>
<p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>