Fixes #2419 by downloading leaflet images. Also changed the path where the libraries are downloaded to avoid not downloading files with same name. --------- Signed-off-by: George Araujo <george.gcac@gmail.com>
19 lines
550 B
Plaintext
19 lines
550 B
Plaintext
{% if page.images %}
|
|
{% if page.images.compare %}
|
|
<script
|
|
defer
|
|
src="{{ site.third_party_libraries.img-comparison-slider.url.js }}"
|
|
integrity="{{ site.third_party_libraries.img-comparison-slider.integrity.js }}"
|
|
crossorigin="anonymous"
|
|
></script>
|
|
{% endif %}
|
|
{% if page.images.slider %}
|
|
<script
|
|
defer
|
|
src="{{ site.third_party_libraries.swiper.url.js }}"
|
|
integrity="{{ site.third_party_libraries.swiper.integrity.js }}"
|
|
crossorigin="anonymous"
|
|
></script>
|
|
{% endif %}
|
|
{% endif %}
|