summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-07-11 17:19:26 -0700
committerSamy Pessé <samypesse@gmail.com>2014-07-11 17:19:26 -0700
commit4a894b1e18510ff7d40cdbc244952424ad6bb545 (patch)
tree84d68c956f0b7e0bb989e02f5c0ab51e44dbe4fb
parentc7c98009e70865dddaeb548097248e14c275a98c (diff)
parent39c50640ea7d83d4ec1f770aff9b7347b2e482f5 (diff)
downloadgitbook-4a894b1e18510ff7d40cdbc244952424ad6bb545.zip
gitbook-4a894b1e18510ff7d40cdbc244952424ad6bb545.tar.gz
gitbook-4a894b1e18510ff7d40cdbc244952424ad6bb545.tar.bz2
Merge pull request #268 from rlmv/master
Fix page.path for plugins
-rw-r--r--lib/generate/site/index.js1
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)
};