mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
14 lines
693 B
HTML
14 lines
693 B
HTML
{% if site.data.libs.js and site.captured_libs %}
|
|
<!-- Libs JS -->
|
|
{% for lib in site.data.libs.js %}
|
|
{% if site.captured_libs contains lib[0] or site.data.libs.global-libs contains lib[0] %}
|
|
{% for file in lib[1] %}
|
|
<script src="{{ site.base }}/{% if jekyll.environment == 'production' %}dist/libs{% else %}node_modules{% endif %}/{% if jekyll.environment == 'production' %}{{ file | replace: '@', '' }}{% else %}{{ file }}{% endif %}?{{ site.time | date: '%s' }}"></script>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<!-- Tabler Core -->
|
|
<script src="{{ site.base }}/dist/js/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.js?{{ site.time | date: '%s' }}"></script>
|