I am trying to add MathJax support in hyde theme.I overide head.html with below directory structure:
layouts/
└── partials
├── head.html
└── mathjax_01.html
I add mathjax_01.html in head.html.
Then when I run the server hugo server -D
, I can see the formula in home page, but after click the post title to open the post, the formula is displayed as plain text!
My sample code is pushed in github:
git clone https://github.com/wjj1928/hyde.git
Would you please help figure out what’s wrong with my code?