mirror of
https://github.com/tabler/tabler.git
synced 2026-06-17 12:50:03 +04:00
Add conditional loading of banner script in development environment
This commit is contained in:
Generated
+3022
-3770
File diff suppressed because it is too large
Load Diff
@@ -12,5 +12,10 @@
|
||||
<!-- BEGIN DEMO SCRIPTS -->
|
||||
<script src="{{ page | relative }}/preview/js/demo{% if environment != 'development' %}.min{% endif %}.js{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" defer></script>
|
||||
<!-- END DEMO SCRIPTS -->
|
||||
|
||||
{% if environment == 'preview' %}
|
||||
<script src="https://scripts.tabler.io/banner.js" defer></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% scripts %}
|
||||
Reference in New Issue
Block a user