summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorFrancesco Tomaselli <tomaselli.fr@gmail.com>2025-03-19 19:09:03 +0100
committerGitHub <noreply@github.com>2025-03-19 19:09:03 +0100
commit8c7e793875769576b518685032ca31d0af3229a7 (patch)
tree1d36bfcfcd1717f82a749d715303f2ce8f07f1d9 /layouts
parent72b5de57576cefa798c619d3b31927183589fb7c (diff)
parent3d08fad0b5f65da57b00c7b384541f33af55c16d (diff)
Merge branch 'main' into patch-1
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/_markup/render-image.html2
1 files changed, 1 insertions, 1 deletions
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 }}