1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00

capture_once jekyll plugin, autosize fixes

This commit is contained in:
codecalm
2019-12-21 18:21:23 +01:00
parent fa80d6128a
commit f1c512de58
7 changed files with 60 additions and 24 deletions
-2
View File
@@ -1,4 +1,3 @@
{% 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] %}
@@ -7,7 +6,6 @@
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
<!-- Tabler Core -->
<script src="{{ site.base }}/{% if jekyll.environment == 'development' %}tmp-{% endif %}dist/js/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.js?{{ site.time | date: '%s' }}"></script>