diff options
-rw-r--r-- | put_in_db.js | 13 |
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]); |