aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-11-08 21:48:11 +0000
committerterminaldweller <devi@terminaldweller.com>2023-11-08 21:48:11 +0000
commit5cd8563d08d271f5396525fdcf77c839cb4f6ad5 (patch)
tree6ed09d041392957869910c1487528c5e4a838660
parentnew blog post (diff)
downloadblog-5cd8563d08d271f5396525fdcf77c839cb4f6ad5.tar.gz
blog-5cd8563d08d271f5396525fdcf77c839cb4f6ad5.zip
new blog post
-rw-r--r--put_in_db.js13
1 files changed, 12 insertions, 1 deletions
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]);