I’m using Hugo and trying to use the uglyURL option. I have it working locally using uglyurl=true in my config and running “hugo server”, but when deployed to Netlify, it doesn’t work. I tried HUGO_UGLYURLS like described here --uglyURLs option stopped working in Hugo 0.33 · Issue #4343 · gohugoio/hugo · GitHub but that doesn’t seem to work either with Netlify. Any ideas? I’m trying to add .html to the end of all urls.
I also tried --uglyURLs=true in the build command per hugo docs, but that results in an ‘unknown flag’ error.
