Confusion with Hugo pointing to .html from the homepage

Hello Everyone,

I have loved getting to know Hugo in the last few months, I used it to build my personal website which renders perfectly on a localhost server.

When I upload it to AWS s3 I have a problem with the home page ‘selected projects’ linking to .html page and not the specific folder with the It therefore misses the content (image etc). If you click through onto the projects page it works perfectly.

For example
This page should be linked from the homepage

but for some reason its adding the .html

Any idea how to resolve this? I have tried with uglyURL = false but still no joy.

Any help very much appreciated


Okay, I seem to have worked this out. It was a problem with AWS and CloudFront rather than Hugo. Sorry Hugo!

If this becomes a problem for anyone else, this solution worked for me: