Hiding html extension on exported site, even when the url contains .html

Search and replace the .html extension inside your html files is the best method.