blob: b719d75642c431f91822d00797464b17cf77edc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<div class="container">
<h1 class="mt-2">Posts</h1>
{{#each posts}}
<div class="card mb-3">
<div class="card-header">
{{this.title}}
</div>
<div class="card-body">
<div class="card-text">
{{{this.text}}}
</div>
{{#if ../auth}}
<a href="/remove-post/{{this._id}}" class="badge float-end">Remove</a>
{{/if}}
</div>
</div>
{{/each}}
</div>
|