I’m using the Relearn theme (v 6.1.1) for a website. In my hugo.toml
file, I disabled MathJax as follows:
[params]
disableMathJax = true
However, after running rm -rf public && hugo
, I still got 24M of MathJax JavaScript code:
$ du -hs public/js/mathjax/
24M public/js/mathjax/
I don’t need MathJax, so blowing up an otherwise lean website is annoying. Of course, since MathJax is not used, I could simply not synchronize that particular folder with my web server, but I think it should be possible to avoid generating all the bloat in the first place.
Any suggestions? Thanks!