RobinThrift / metalsmith-tutorial

A Metalsmith Tutorial Repo
http://www.robinthrift.com/posts/metalsmith-part-1-setting-up-the-forge
43 stars 10 forks source link

bugfix - no permalinks outside project directory #5

Closed JuanCaicedo closed 8 years ago

JuanCaicedo commented 8 years ago

Right now it's possible for metalsmith-permalinks to try to create folder outside the current directory of the project, as mentioned in this issue. I think this is the error pointed out in #3, since I was having the same one and was able to fix it with this.

JuanCaicedo commented 8 years ago

You might only see this issue if .use(markdown()) comes before .use(permalinks({...})), but given that project doesn't provide any safety against it, I think this is still a good safety check!