mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
13 lines
591 B
HTML
13 lines
591 B
HTML
{% if page-libs -%}
|
|
<!-- BEGIN PAGE LIBRARIES -->
|
|
{% for lib in include.libs -%}
|
|
{% if page-libs contains lib[0] -%}
|
|
{% for file in lib[1] -%}
|
|
<script
|
|
src="{% if file contains 'http://' or file contains 'https://' %}{{ file | replace: 'GOOGLE_MAPS_KEY', google-maps-key }}{% else %}{{ page | relative }}/libs/{% if environment != 'development' %}{{ file | replace: '@', '' }}{% else %}{{ file }}{% endif %}{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}{% endif %}"
|
|
defer></script>
|
|
{% endfor -%}
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
<!-- END PAGE LIBRARIES -->
|
|
{% endif -%} |