Skip to content

Commit

Permalink
Fix typo in logo.html
Browse files Browse the repository at this point in the history
Fixing bug themefisher#217
  • Loading branch information
baikaresandip authored Dec 25, 2023
1 parent 6577959 commit e78f617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/logo.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{{ .Scratch.Set "logo_fallback" ($logo.Resize $logoWidth).RelPermalink }}
{{ end }}

<img loading="prelaod" decoding="async" class="img-fluid" width="{{replace $logoWidth `x` `` | default $logoDefaultWidth}}" height="{{$logoDefaultHeight}}" src="{{.Scratch.Get `logo`}}" alt="{{ site.Title }}" onerror="this.onerror=null;this.src='{{.Scratch.Get `logo_fallback`}}'">
<img loading="preload" decoding="async" class="img-fluid" width="{{replace $logoWidth `x` `` | default $logoDefaultWidth}}" height="{{$logoDefaultHeight}}" src="{{.Scratch.Get `logo`}}" alt="{{ site.Title }}" onerror="this.onerror=null;this.src='{{.Scratch.Get `logo_fallback`}}'">
{{ else }}
<strong class="text-danger">`{{$logoPath}}` doesn't exist</strong>
{{ end }}
Expand All @@ -47,4 +47,4 @@
<!-- logo title -->
{{ else }}
{{ site.Title | markdownify }}
{{ end }}
{{ end }}

0 comments on commit e78f617

Please sign in to comment.