Hexo category can't deploy fix

Issues#

On the local host, the category function is doing pretty well. But after deployment, for the category page, the links for each category lead to 404 Not Found errors.

Category page not found

Solution#

The category tag can’t be capitalized, since the deployment process (don’t know where) uncapitalizes every word and stores them in the GitHub repo.

The url is incorrect due to capitalized category name

Confession#

I spent too much time on this freaking problem /cry… Still, I can’t find the API which Hexo uses for the deployment (or I just don’t want to read through all the node modules).