10 lines
329 B
HTML
10 lines
329 B
HTML
<!--
|
|
image lazy load: https://github.com/ApoorvSaxena/lozad.js
|
|
-->
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
const imgs = document.querySelectorAll('.post-content img');
|
|
const observer = lozad(imgs);
|
|
observer.observe();
|
|
</script>
|