From 046c978ecfa3f664d9a0d423ac01075e6be170ab Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 2 May 2021 20:53:15 +0200 Subject: Started using `express-handlebars`. --- views/home.handlebars | 3 +++ views/layouts/main.handlebars | 41 +++++++++++++++++++++++++++++++++++++++++ views/new-post.handlebars | 3 +++ 3 files changed, 47 insertions(+) create mode 100644 views/home.handlebars create mode 100644 views/layouts/main.handlebars create mode 100644 views/new-post.handlebars (limited to 'views') diff --git a/views/home.handlebars b/views/home.handlebars new file mode 100644 index 0000000..c280c9d --- /dev/null +++ b/views/home.handlebars @@ -0,0 +1,3 @@ +
+

{{ title }}

+
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars new file mode 100644 index 0000000..c41b99f --- /dev/null +++ b/views/layouts/main.handlebars @@ -0,0 +1,41 @@ + + + + + + {{ title }} + + + + + + {{{ body }}} + + + + + diff --git a/views/new-post.handlebars b/views/new-post.handlebars new file mode 100644 index 0000000..c280c9d --- /dev/null +++ b/views/new-post.handlebars @@ -0,0 +1,3 @@ +
+

{{ title }}

+
-- cgit v1.2.3