write-ups-challenges-2021-2022/moderated/views/posts.hbs
2021-12-03 00:33:26 +01:00

13 lines
177 B
Handlebars

<h1>My Posts</h1>
<a href="/create">Create a new post</a>
{{#each posts}}
<p>
{{body}}<br/>
<a class="viewmore" href="/post/{{id}}" >View more</a>
</p>
<hr/>
{{/each}}