code: function filterFolder(posts) {
        var reFolder = new RegExp(folder);
        return posts.filter(function filterPosts(post) {
          return reFolder.test(post.source.substr(0, post.source.lastIndexOf(path.sep)));
        });
      }
docs: filter the posts using a subfolder if supplied