mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
feat: add banner script loading for preview environment
This commit is contained in:
@@ -196,5 +196,9 @@
|
|||||||
|
|
||||||
<script src="/dist/js/tabler{% if environment != 'development' %}.min{% endif %}.js"></script>
|
<script src="/dist/js/tabler{% if environment != 'development' %}.min{% endif %}.js"></script>
|
||||||
<script src="/js/docs{% if environment != 'development' %}.min{% endif %}.js" defer></script>
|
<script src="/js/docs{% if environment != 'development' %}.min{% endif %}.js" defer></script>
|
||||||
|
|
||||||
|
{% if environment == 'preview' %}
|
||||||
|
<script src="https://scripts.tabler.io/banner.js" defer></script>
|
||||||
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user