aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-06-03 21:18:40 +0200
committerBen Beltran <ben@nsovocal.com>2020-06-03 21:18:40 +0200
commit05d725fad196f53874c5d15ca493962986f8af73 (patch)
tree8c2f2b8d2d3149842ecd2d0df7fe18cb932f7cc8 /lib
parentfd728287049742f66f7aeaf79f855132da9ef400 (diff)
Update the blog style
Diffstat (limited to 'lib')
-rw-r--r--lib/blog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/blog.js b/lib/blog.js
index 541d6b3..50ebbf2 100644
--- a/lib/blog.js
+++ b/lib/blog.js
@@ -136,6 +136,7 @@ module.exports = class Blog {
internals.debuglog('Parsing markdown');
posts.push({
...metadata,
+ index: i,
html: Marked(postContent),
raw: postContent
});