diff options
Diffstat (limited to 'views/home.handlebars')
-rw-r--r-- | views/home.handlebars | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/home.handlebars b/views/home.handlebars index b0b7d34..7f48f65 100644 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -10,7 +10,9 @@ <div class="card-text"> {{{this.text}}} </div> - <a href="/remove-post/{{this._id}}" class="badge float-end">Remove</a> + {{#if auth}} + <a href="/remove-post/{{this._id}}" class="badge float-end">Remove</a> + {{/if}} </div> </div> {{/each}} |