add directory indexes for pretty urls

learned via https://coderwall.com/p/qgnwzw