From bd0b95d5076033e88bf1436b8b79e3abcf0353f5 Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Sat, 15 Mar 2025 21:46:53 +0530 Subject: Remove `px` from width/height img attributes in render-image hook As per the spec, width/height attrs should be non-negative integers but currently, they are being rendered with a `px` suffix. This change removes the suffix which hopefully fixes any outstanding layout shifts. References: - https://html.spec.whatwg.org/multipage/embedded-content-other.html#dimension-attributes --- layouts/_default/_markup/render-image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ..."
- {{ .Text }} + {{ .Text }}
{{ with .Title }} -- cgit v1.2.3 From e29bb4f39c546970524479111870bb3eee5fbb0d Mon Sep 17 00:00:00 2001 From: Rahul Patil <147305004+rahulpat1l@users.noreply.github.com> Date: Wed, 19 Mar 2025 04:11:02 +0530 Subject: Update USERS.md added my website --- USERS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USERS.md b/USERS.md index 3f14a77..4f8bdfe 100644 --- a/USERS.md +++ b/USERS.md @@ -8,3 +8,4 @@ - https://aadityathapa.github.io/, **Aaditya Thapa**, Data Analyst - https://automagic.blog, **Sangeeth Sudheer**, UX Engineer - https://kmiziz.xyz, **Vasily Negrebetskiy**, Software Engineer +- https://rahulpat1l.github.io/, **Rahul Patil**, Student -- cgit v1.2.3