From dee924e6a8e29d354af60be36271b463ce752c13 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Mon, 13 Mar 2023 23:10:36 -0400 Subject: [PATCH] Rename MACRO host_thumb to get_avatar Update to use lazy_load MACRO and minimize number of arguments needed. --- templates/content-correspondents.tpl.html | 4 ++-- templates/shared-avatar.tpl.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/content-correspondents.tpl.html b/templates/content-correspondents.tpl.html index b9bd96f..dce4335 100644 --- a/templates/content-correspondents.tpl.html +++ b/templates/content-correspondents.tpl.html @@ -1,9 +1,9 @@ +

Correspondents

For more information on how to become a Correspondent see our contribute page. To add a logo here, either email one to admin at hpr or setup your email on Gravatar. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.

- @@ -18,7 +18,7 @@ on h.hostid = e.hostid ' ) %--> - +
Avatar

diff --git a/templates/shared-avatar.tpl.html b/templates/shared-avatar.tpl.html index 13354ee..f74c332 100644 --- a/templates/shared-avatar.tpl.html +++ b/templates/shared-avatar.tpl.html @@ -6,6 +6,6 @@ hosts/ hpr_logo.png - -Thumbnail of <!--% host_name | html %--> min_cnt %-->loading="lazy" /> + +Thumbnail of <!--% host_name | html %--> />