How to generate URLs with HTML extension

All the URLs of the articles generated by Hugo are, by default, end with a trailing slash “/”.
What can I do to get my articles end with HTML extension instead?

I mean, if we have, for example:

www.example.com/category1/article1/

How to get:
www.example.com/category1/article1.html

Thank you for help

Try -

1 Like