From 5cd8563d08d271f5396525fdcf77c839cb4f6ad5 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 8 Nov 2023 16:48:11 -0500 Subject: new blog post --- put_in_db.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/put_in_db.js b/put_in_db.js index da5a050..a1de3ef 100644 --- a/put_in_db.js +++ b/put_in_db.js @@ -23,4 +23,15 @@ blog_entry_2 = { lastUpdatedAt: Date.now(), }; -db.blogposts.insertMany([blog_entry_1, blog_entry_2]); +blog_entry_3 = { + title: "One Chat Client For Everything", + slug: "one_chat_client_for_everything", + body: fs.readFileSync( + path.join(__dirname) + "/mds/oneclientforeverything.md" + ), + teaser: "One Chat Client For Everything", + keywords: "irc,matrix,mattermost,matterbridge,bitlbee,irssi", + lastUpdatedAt: Date.now(), +}; + +db.blogposts.insertMany([blog_entry_1, blog_entry_2, blog_entry_3]); -- cgit v1.2.3