summaryrefslogtreecommitdiffstats
path: root/lib/generate/site
diff options
context:
space:
mode:
authorRobert Marchman <robert.l.marchman@dartmouth.edu>2014-05-29 00:29:23 -0400
committerBo Marchman <bo.marchman@gmail.com>2014-06-24 12:33:19 -0400
commit39c50640ea7d83d4ec1f770aff9b7347b2e482f5 (patch)
treeec0abd43e35b7522b4c69ef3437da54315be37bc /lib/generate/site
parent16128c7e609b4ac14420080cbb7f31db5d6ffb01 (diff)
downloadgitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.zip
gitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.tar.gz
gitbook-39c50640ea7d83d4ec1f770aff9b7347b2e482f5.tar.bz2
pass 'rawPath' page path to plugins
Diffstat (limited to 'lib/generate/site')
-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)
};