Explorar el Código

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

Yuki Takei hace 8 años
padre
commit
180a1a836f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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({