Skip to content

Commit

Permalink
Fix path rewrite for pages with paths not ending with '/' (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubrohleder authored and KyleAMathews committed Apr 27, 2016
1 parent 22d00c6 commit 2401473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/post-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = (program, cb) => {
})

if (page) {
newPath = parsePath(page.path).path + parsed.basename
newPath = path.join(parsePath(page.path).path, parsed.basename)
} else {
// We couldn't find a page associated with this file. Probably
// the file is in a directory of static files. In any case,
Expand Down

0 comments on commit 2401473

Please sign in to comment.