Explorar o código

Stein database only loads on relevant pages

Nathan Schneider %!s(int64=4) %!d(string=hai) anos
pai
achega
a8e9e03c09
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      _includes/head.html

+ 2 - 1
_includes/head.html

@@ -34,8 +34,9 @@
     }
   </script>
 
-
   <!-- Stein database -->
+  {% if page.layout == "rule" or page.layout == "library" %}
   <script src="https://unpkg.com/stein-js-client"></script>
+  {% endif %}
 
 </head>