From 58d956f41c056a12e15d5b6ee27c54fc98cd6e49 Mon Sep 17 00:00:00 2001
From: Oliver B. Fischer <hello@oliverfischer.dev>
Date: Thu, 18 Jun 2026 03:03:27 +0000
Subject: [PATCH] Provide image attributes width and height for Gravatar (#999)
---
layouts/_partials/home/avatar.html | 2 +-
CONTRIBUTORS.md | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 693cf92..9ead35a 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -150,6 +150,7 @@
- [Gregor Podjed](https://github.com/gragorther)
- [dantezhu](https://github.com/dantezhu)
- [Alexander Lazarević](https://e11bits.com)
+- [Oliver B. Fischer](https://stdout.oliverfischer.dev)
- [Ábel Nagy](https://github.com/abel-nagy)
- [William Floyd](https://w-floyd.com)
- [Tiago Carrondo](https://carrondo.pt)
diff --git a/layouts/_partials/home/avatar.html b/layouts/_partials/home/avatar.html
index 4928915..a1d9879 100644
--- a/layouts/_partials/home/avatar.html
+++ b/layouts/_partials/home/avatar.html
@@ -4,5 +4,5 @@
{{ end }}
{{ end }}
{{ with .Site.Params.gravatar }}
- <div class="avatar"><img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" alt="gravatar"></div>
+ <div class="avatar"><img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" width="240" height="240" alt="gravatar"></div>
{{ end }}
--
Gitblit v1.10.0