Skip to content

Commit 4a894b1

Browse files
committed
Merge pull request GitbookIO#268 from rlmv/master
Fix page.path for plugins
2 parents c7c9800 + 39c5064 commit 4a894b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/generate/site/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Generator.prototype.convertFile = function(content, _input) {
102102

103103
var page = {
104104
path: _input,
105+
rawPath: input, // path to raw md file
105106
content: content,
106107
progress: parse.progress(this.options.navigation, _input)
107108
};

0 commit comments

Comments
 (0)