From 3d08a0057e48f9f6e5e37af033d2eadef482be8f Mon Sep 17 00:00:00 2001 From: st1020 Date: Sun, 22 Oct 2023 18:00:37 +0800 Subject: [PATCH] fix: preload image in index.html only --- templates/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/partials/head.html b/templates/partials/head.html index 72058db..72b7589 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -31,6 +31,7 @@ } + {% if section.path is defined and section.path == "/" %} {% if config.extra.profile.avatar_url %} @@ -44,6 +45,8 @@ {% endfor %} {% endif %} + + {% endif %}