# MathJax works on homepage but not work in post

I am trying to add MathJax support in hyde theme.I overide head.html with below directory structure:
layouts/
└── partials
└── mathjax_01.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

Hi,

You could try to set the blackfriday fractions option in your config to false: https://gohugo.io/getting-started/configuration/#blackfriday-options

Or use \frac{1}{5} instead of {1/5}?

I suspect (but am not sure) it has something to do with the difference between how fractions (ie 1/5) are rendered by .Summary (in your index.html) vs .Content (in single.html).

Thanks, after add below option to config file:
[blackfriday]
fractions = false

It works!