Skip to content

Commit

Permalink
render-image.html: move loading attribute to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 14, 2024
1 parent d6bd01a commit bae428a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/_default/_markup/render-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{{- $config := imageConfig (path.Join "src/static" $src) -}}
{{- $classes := "d-block img-fluid mb-2 rounded border" -}}

<img src="{{ $src }}" class="{{ $classes }}" alt="{{ .Text }}" loading="lazy" width="{{ $config.Width }}" height="{{ $config.Height }}">
<img src="{{ $src }}" class="{{ $classes }}" alt="{{ .Text }}" width="{{ $config.Width }}" height="{{ $config.Height }}" loading="lazy">

0 comments on commit bae428a

Please sign in to comment.