Browse Source

ensure that mathjax scripts render only when MATHJAX env value is true

Yuki Takei 8 years ago
parent
commit
180a1a836f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/views/layout/layout.html

+ 1 - 1
lib/views/layout/layout.html

@@ -35,7 +35,7 @@
 
   <!-- jQuery, emojione -->
   <script src="https://cdn.jsdelivr.net/combine/npm/emojione@3.1.2,npm/jquery@3.3.1"></script>
-  {% if true %}
+  {% if local_config.env.MATHJAX %}
     <!-- Mathjax -->
     <script type="text/x-mathjax-config" async>
       MathJax.Hub.Config({