Enable Pretty URLs (Directory Indexes) in Middleman
By default, Middleman outputs files exactly as named (e.g.,
about-us.html.erb becomes about-us.html). To enable directory indexes—where Middleman creates a folder for each page and outputs the template as index.html—activate the :directory_indexes extension in config.rb. This allows pages to be accessed via clean URLs (e.g., http://example.com/about-us) on servers that support index files like Apache or Amazon S3.activate :directory_indexes