aboutsummaryrefslogtreecommitdiffstats
path: root/model.js
diff options
context:
space:
mode:
Diffstat (limited to 'model.js')
-rw-r--r--model.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/model.js b/model.js
index d4bfc83..5df1270 100644
--- a/model.js
+++ b/model.js
@@ -46,9 +46,9 @@ function populateDB(model) {
.toString();
let newBlogPost = new model({
title: fileName,
- slug: "slug",
+ slug: fileName,
body: fileContent,
- teaser: "teaser",
+ teaser: fileName,
keywords: ["kw1", "kw2"],
});
newBlogPost.save();