Using Middleman on GitHub pages with directory_indexes is included, I wonder if I can somehow get rid of the GitHub trailing slash.
My URL-addresses mainly: /foo-bar -> /foo-bar/index.html
.
A visit /foo-bar
on GitHub pages redirects to /foo-bar/
.
Is there a way to prevent redirection?
source
share