Einbindung MathJax in hugo

See or here : Add these line <script src=""></script> <script id="MathJax-script" async src=""></script> To the layout file of your hugo template. I use theme mainroad, and added the lines in themes/mainroad/layouts/_default/baseof.html, in head-section of html. Tests $$f_{res} = \frac{1}{2\pi\sqrt{LC}}$$ This shows as Mathjax \(a \ne b\), but this doesn’t (a \ne b) Likewise, this shows as Mathjax \[a \ne b\] but this doesn’t: [a \ne b] $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$