From 3460f9ad874495469cfa8d4aaa42b66f5e427bf2 Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 3 May 2021 00:56:35 +0200 Subject: Use MongoDB (with Mongoose) to store posts. --- views/home.handlebars | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'views') 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 @@

Posts

-
+ {{#each posts}} +
- Lorem ipsum dolor sit amet + {{this.title}}
- 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}}
+ {{/each}}
-- cgit v1.2.3