Explorar o código

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

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
180a1a836f
Modificáronse 1 ficheiros con 1 adicións e 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({