diff --git a/layout/_scripts/mathjax.swig b/layout/_scripts/mathjax.swig
index 3685b222e..4a310fa47 100644
--- a/layout/_scripts/mathjax.swig
+++ b/layout/_scripts/mathjax.swig
@@ -1,24 +1,27 @@
{% if theme.mathjax %}
-
+
-
-
-
-
+
+ {% if config.language === 'zh-Hans' %}
+
+
+ {% else %}
+
+ {% endif %}
{% endif %}