diff options
author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2025-03-19 19:09:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 19:09:03 +0100 |
commit | 8c7e793875769576b518685032ca31d0af3229a7 (patch) | |
tree | 1d36bfcfcd1717f82a749d715303f2ce8f07f1d9 | |
parent | 72b5de57576cefa798c619d3b31927183589fb7c (diff) | |
parent | 3d08fad0b5f65da57b00c7b384541f33af55c16d (diff) |
Merge branch 'main' into patch-1
-rw-r--r-- | USERS.md | 1 | ||||
-rw-r--r-- | layouts/_default/_markup/render-image.html | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -9,3 +9,4 @@ - https://automagic.blog, **Sangeeth Sudheer**, UX Engineer - https://kmiziz.xyz, **Vasily Negrebetskiy**, Software Engineer - https://nykenik24.github.io, **Nykenik24**, Hobby programmer +- https://rahulpat1l.github.io/, **Rahul Patil**, Student diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 679fd76..e6a5c39 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -47,7 +47,7 @@ and build the img class string as "img-tag1 img-tag2 ..." <figure class="{{ $classes }}"> <div> - <img loading="lazy" alt="{{ .Text }}" src="{{ $url }}" {{ with $imgResource }}width="{{ .Width }}px" height="{{ .Height }}px"{{ end }}> + <img loading="lazy" alt="{{ .Text }}" src="{{ $url }}" {{ with $imgResource }}width="{{ .Width }}" height="{{ .Height }}"{{ end }}> </div> {{ with .Title }} |