aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/home.handlebars8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/home.handlebars b/views/home.handlebars
index 02f31de..768b62d 100644
--- a/views/home.handlebars
+++ b/views/home.handlebars
@@ -1,15 +1,17 @@
<div class="container">
<h1 class="mt-2">Posts</h1>
- <div class="card">
+ {{#each posts}}
+ <div class="card mt-3">
<div class="card-header">
- Lorem ipsum dolor sit amet
+ {{this.title}}
</div>
<div class="card-body">
<div class="card-text">
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
+ {{this.text}}
</div>
</div>
</div>
+ {{/each}}
</div>