Fixes #80

Also fixes a bug when rendering nested folders publicly.