From adb250108dd415bb0e30b3d38f9608c8ccccb323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Gusm=C3=A3o?= <78504663+EricGusmao@users.noreply.github.com> Date: Sun, 16 Aug 2026 18:47:24 -0300 Subject: [PATCH] perf: prioritize homepage profile image (#3041) --- layouts/partials/home/background.html | 2 ++ layouts/partials/home/hero.html | 2 ++ layouts/partials/home/profile.html | 2 ++ 3 files changed, 6 insertions(+) diff --git a/layouts/partials/home/background.html b/layouts/partials/home/background.html index d90572e3..86aa08c0 100644 --- a/layouts/partials/home/background.html +++ b/layouts/partials/home/background.html @@ -62,6 +62,8 @@ width="144" height="144" alt="{{ $.Site.Params.Author.name | default `Author` }}" + loading="eager" + fetchpriority="high" src="{{ $final.RelPermalink }}" data-zoom-src="{{ $squareImage.RelPermalink }}"> {{ end }} diff --git a/layouts/partials/home/hero.html b/layouts/partials/home/hero.html index 25e886d8..5ed47b2d 100644 --- a/layouts/partials/home/hero.html +++ b/layouts/partials/home/hero.html @@ -65,6 +65,8 @@ width="144" height="144" alt="{{ $.Site.Params.Author.name | default `Author` }}" + loading="eager" + fetchpriority="high" src="{{ $final.RelPermalink }}" data-zoom-src="{{ $squareImage.RelPermalink }}"> {{ end }} diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index fdc137fe..c7980ecd 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -24,6 +24,8 @@ width="144" height="144" alt="{{ $.Site.Params.Author.name | default `Author` }}" + loading="eager" + fetchpriority="high" src="{{ $final.RelPermalink }}" data-zoom-src="{{ $squareImage.RelPermalink }}"> {{ end }}