Closed
Description
function isRelativeToRoot(p){ return p.indexOf(path.normalize(path.sep)) === 0 }
On Windows path.sep = ""
On OSX path.sep = "/"
root will not work on Windows but it will on OSX when including html like shown below.
@@include = /template/nav.html
It may be safe to change that function to get it working on both platforms.
function isRelativeToRoot(p){ return p.indexOf('/') === 0 }
Metadata
Metadata
Assignees
Labels
No labels