Browse Source

Correct 2 typo bugs (around class = "lozad")

tags/v1.0.0
Didier GEORGIEFF 4 years ago
parent
commit
7c51172997
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      layouts/partials/feature.html
  2. 1
    1
      layouts/partials/navigation.html

+ 1
- 1
layouts/partials/feature.html View File

@@ -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">

+ 1
- 1
layouts/partials/navigation.html View File

@@ -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 }}

Loading…
Cancel
Save