bbakersmith/jekyll-pages-directory

Running jekyll from outside of root causes plugin to fail

Opened this issue · 0 comments

This line may be incorrect, it should probably use site.source somehow. My app is structured:

├── root
│   └── app
│       ├── _pages
│       └── _site

and I run from root, so Dir["#{pages_dir}/**/*"] finds nothing when pages_dir = './_pages' and File.file? finds nothing if pages_dir = './app/_pages'