build directory index pages for static sites