The current flow is if /about is a directory you will get redirect to /about/, it is done, because how relative links are solved. And this is also something that I see that it's a common pattern and I would not like to change that.
I'm thinking about something different. Maybe we should support /about to be an alias of /about.html? This would solve your problem, but would also not break relative links :)
That's a good idea.
I'm using Hugo, and I organize my posts like
content/ write/ post/ 1/ index.md top.img
Now in index.md I could use  to easily add the image.
If you make this change, I'd need to change that index.md to content/write/post/1.md, and it'll be a bit harder for me to manage the images. But I can move all images to /static.
Overall I like the idea, and it would be awesome if you could provide it as an option. Thanks!
if /about => if dir => redirect to /about/if /about => if file => serveif /about/ => if /about/index.html file => serveif /about.html => serveotherwise 404
Any more progress on this issue? This feature seems hugely in demand, especially among Jekyll users. As has been stated repeatedly, this is standard behavior on both GitHub Pages and Jekyll's built-in server.
Thank you for creatinge Gitlab Pages!
Well, somehow Github Pages supports serving about.html to url /about, and can Gitlab support that?
It makes the website's url look cleaner, and the users won't see 404 when they type in example.com/about