Reponsive images are now loaded on demand

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2018-01-02 15:09:44 +01:00
parent ca5b9440f3
commit cb6d734d11
3 changed files with 145 additions and 1 deletions

View File

@ -19,5 +19,13 @@
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
{% asset main.js %}
{% asset echo.js %}
<script defer>
echo.init({
offset: 500,
throttle: 250,
unload: false
});
</script>
{% asset fontawesome-all.js defer %}
</head>