Hugo URLs With File Extension

I serve this blog using a static content host without any URL rewrite logic, much like an antique web site of the pre-2000s era would have been served with Apache.

Given that, I was curious how to make Hugo render URLs with a file extension. This is done through setting the uglyURLs directive in the hugo.toml file to true.