set relative_permalink to false
https://stackoverflow.com/questions/18401297/jekyll-not-generating-pages-in-subfolders