diff options
-rw-r--r-- | lib/page/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/page/index.js b/lib/page/index.js index 06b210e..6dcefa1 100644 --- a/lib/page/index.js +++ b/lib/page/index.js @@ -113,7 +113,8 @@ Page.prototype.getContext = function() { return { file: { path: this.path, - mtime: this.mtime + mtime: this.mtime, + type: this.type }, page: { title: article? article.title : null, |