Created a plugin to tackle #1181. Currently have an issue with tikzjax since it imports some wasm file from its javascript. The rest should work as expected. --------- Signed-off-by: George Araujo <george.gcac@gmail.com>
14 lines
417 B
Plaintext
14 lines
417 B
Plaintext
{% if page.images %}
|
|
{% if page.images.compare %}
|
|
<script defer src="{{ site.third_party_libraries.img-comparison-slider.url.js }}"></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 %}
|