From dc57f759c616a23b1baf10b1ea71cca6ba581831 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 6 Jul 2022 14:31:50 +0430 Subject: now the blog uses the db for everything. now need to decide on how to populate the DB and prevent duplication --- views/archive.ejs | 4 ++-- views/index.ejs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/archive.ejs b/views/archive.ejs index 36191de..72b963d 100644 --- a/views/archive.ejs +++ b/views/archive.ejs @@ -9,9 +9,9 @@
- <% data.mds.forEach(function(md) { %> + <% data.blogPosts.forEach(function(blogPost) { %> <% }) %>
diff --git a/views/index.ejs b/views/index.ejs index 0e47f53..fdd49cc 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -16,7 +16,8 @@

Keywords: - <%- data.Keywords %> + <%- data.keywords %> + <%- data.lastUpdated %>


-- cgit v1.2.3