I’m switching from WordPress to Hugo and so far I’m liking it. I found that there’s a defaultExtension configuration that is supposed to output files with a different extension from the default .html, I added the following to my config.toml but the files generated are still html files: defaultExtension = ".aspx"
When I run hugo config it does say defaultextension = ".aspx", so I’m not sure what’s going on. I’m using the slender theme at https://github.com/CrimsonRay/slender, but I don’t know if that would have anything to do with it.
There is an open issue about this; short story: currently it doesn’t work.
Contributions welcome; shouldn’t be too hard to fix.
OK I might have a look at doing that, though I’ve never used go so I can’t promise I’ll be terribly effective. Just for reference, the defaultExtension is supposed to do what I want it to, it just currently isn’t implemented?
Yes. I had a quick look at it, and the defaultExtension just “hangs there idle doing nothing” …
Don’t hesitate to ask, but it is easier if you could just create a suggested fix in a pull request, then we could take it from there…