From c9f5b12ab281c8889364bfb2455dc97fdb92e9f9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 6 Jul 2022 16:23:42 +0430 Subject: a newer simpler template for the rss feed --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server.js') diff --git a/server.js b/server.js index 6d51d1b..286932d 100755 --- a/server.js +++ b/server.js @@ -25,7 +25,7 @@ const morgan = require("morgan"); const model = require("./model"); model.dbInit(); -model.populateDB(model.blogPost); +// model.populateDB(model.blogPost); const app = express(); app.disable("x-powered-by"); @@ -141,7 +141,7 @@ app.get("/rss/feed", (req, res) => { .select("title slug lastUpdatedAt teaser") .exec(function (err, posts) { if (err) return err; - return res.render("rss_feed.pug", { cache: true, posts: posts }); + return res.render("rss_feed_v2.pug", { cache: true, posts: posts }); }); }); -- cgit v1.2.3