Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/meghna-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-09-29 08:48:45 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-09-29 08:48:45 +0300
commitc574d63d123112036346bf46717266de960b2902 (patch)
tree6b0a60c9f2c16f007c52ff0a87d7bfb9c1c70cce
parent73e05523db9949afb7f2be0ffdd8678ff6cc3378 (diff)
optimizing page speed
-rw-r--r--layouts/partials/banner.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html
index 9ac32b4..8287382 100644
--- a/layouts/partials/banner.html
+++ b/layouts/partials/banner.html
@@ -5,7 +5,7 @@
{{"<!-- Welcome Slider-->" | safeHTML}}
<section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<!-- this image is for trigger this section fallback background image -->
- <img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" data-src="{{ .bg_image_webp | absURL }}" />
+ <img class="lozad d-none" data-src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"/>
<div class="block">
{{ if .icon }}