I have a category called
C# on my blog, Hugo generates a
categories/c#/index.xml file for it, which works locally but not on Netlify where I host my blog.
Netlify deploy fails with
12:22:30 PM: failed during stage ‘deploying site’: Invalid filename ‘categories/c#/index.xml’. Deployed filenames cannot contain # or ? characters
Is there a way to “sanitize” the category names, making Hugo generate
categories/csharp/index.xml instead of