aboutsummaryrefslogblamecommitdiff
path: root/views/home.handlebars
blob: b0b7d34a2d4fbe47c0cfbcdbfbc843a326b60ca9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                       

                             
                 
                         
                             
                    


                             
                       
            
                                                                            

          
           
 
      
<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>
      <a href="/remove-post/{{this._id}}" class="badge float-end">Remove</a>
    </div>
  </div>
  {{/each}}

</div>