diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-17 13:12:34 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-17 13:12:34 +0100 |
commit | b6104c64fecb72c9f40554600d456c27dbd18be8 (patch) | |
tree | 0c48caf160f8b8a2c54f4cfa76c0f586364dbc8b /lib/page/index.js | |
parent | e95678cf3a3cfbcbfa8b64ca16c4030417187e88 (diff) | |
download | gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.zip gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.tar.gz gitbook-b6104c64fecb72c9f40554600d456c27dbd18be8.tar.bz2 |
Use same json for page context and json builds
Diffstat (limited to 'lib/page/index.js')
-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 342830a..06b210e 100644 --- a/lib/page/index.js +++ b/lib/page/index.js @@ -118,7 +118,8 @@ Page.prototype.getContext = function() { page: { title: article? article.title : null, next: next? next.getContext() : null, - previous: prev? prev.getContext() : null + previous: prev? prev.getContext() : null, + content: this.content } }; }; |