diff options
author | Toma Nistor <toma.nistor@fishawack.com> | 2019-06-02 04:15:55 +0300 |
---|---|---|
committer | Toma Nistor <toma.nistor@fishawack.com> | 2019-06-02 04:15:55 +0300 |
commit | de63d878453058293d03fa588ffee5f8bf82d733 (patch) | |
tree | 142baf0ab45f012173e05df97498fca4c24a5ec9 | |
parent | f4a49ad9dca809ecb6f2c38b0743bae3475b7b87 (diff) |
Fixed lazyloading image flash on load
-rw-r--r-- | layouts/partials/head.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index abc8351..20d3e4d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -95,6 +95,7 @@ {{ end }} {{ if .Site.Params.lazyLoading }} + <style>.lazyload{opacity:0.0001;}</style> <script src="/scripts/vendor/lazysizes.min.js" async></script> {{ end }} </head> |