diff options
author | Robert Marchman <robert.l.marchman@dartmouth.edu> | 2014-05-29 00:29:23 -0400 |
---|---|---|
committer | Bo Marchman <bo.marchman@gmail.com> | 2014-06-24 12:33:19 -0400 |
commit | 39c50640ea7d83d4ec1f770aff9b7347b2e482f5 (patch) | |
tree | ec0abd43e35b7522b4c69ef3437da54315be37bc /lib/generate/site/index.js | |
parent | 16128c7e609b4ac14420080cbb7f31db5d6ffb01 (diff) | |
download | gitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.zip gitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.tar.gz gitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.tar.bz2 |
pass 'rawPath' page path to plugins
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index b59c01c..dcc48d7 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -102,6 +102,7 @@ Generator.prototype.convertFile = function(content, _input) { var page = { path: _input, + rawPath: input, // path to raw md file content: content, progress: parse.progress(this.options.navigation, _input) }; |