diff options
author | Didier GEORGIEFF <d.georgieff@adhoc-gti.com> | 2020-06-26 02:52:18 +0300 |
---|---|---|
committer | Didier GEORGIEFF <d.georgieff@adhoc-gti.com> | 2020-06-26 02:52:18 +0300 |
commit | 7c51172997a86af8b28f56a56cb28a72bd132df4 (patch) | |
tree | 870243cb5210ad9ef27c1884554ef16b6751ab36 /layouts | |
parent | 45092200dda8a94c9467772900f7030f0794f58a (diff) |
Correct 2 typo bugs (around class = "lozad")
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/feature.html | 2 | ||||
-rw-r--r-- | layouts/partials/navigation.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/feature.html b/layouts/partials/feature.html index ce1cd88..1991b21 100644 --- a/layouts/partials/feature.html +++ b/layouts/partials/feature.html @@ -8,7 +8,7 @@ <div class="row"> <div class="col-lg-6 padding-0" style="background-image: url('{{ .image_webp | absURL }}'); background-size: cover; background-position: top center; background-repeat: no-repeat; min-height: 400px;"> <!-- this image is for trigger this section fallback background image --> - <img style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .image | absURL }})'" data-src="{{ .image_webp | absURL }}" /> + <img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .image | absURL }})'" data-src="{{ .image_webp | absURL }}" /> </div> <div class="col-lg-6"> <div class="content-block"> diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index ef79753..7c75eb1 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -3,7 +3,7 @@ <nav class="navbar navbar-expand-lg navbar-dark"> <a class="navbar-brand p-0" href="{{ .Site.BaseURL | relLangURL }}"> {{ if .Site.Params.logo }} - <img class="lozad" class="img-fluid" data-src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"> + <img class="lozad img-fluid" data-src="{{ .Site.Params.logo | absURL }}" alt="{{ .Site.Title }}"> {{ else }} {{ .Site.Title }} {{ end }} |