Jekyll code not updating when live

I have checked the gemfile.lock and all the gem versions are the same as local ones.

Mathjax and KATEX are working locally.

No matter what changes I make in any of the .html files in _includes folder, the code does not update when the website is live.

Any update to a post is being updated.

It’s been 5 days and I am totally frustrated. I need to get mathjax or KATEX working.

Please help.

You have to remove jekyll-minima as a gem theme and convert it to a normal theme.

Unless you over ride defaults nothing will update.

Why do you have include: [vendor]? It should be excluded.
If that doesn’t work, try removing the vendor directory from version-control.