From c744bdf175e55c39329eddfadb902e032eabf0d3 Mon Sep 17 00:00:00 2001 From: Gordon Stanton Date: Sun, 5 Mar 2023 02:07:03 +1100 Subject: [PATCH] Moved host thumbnail image tag to separate template file. Added loading="lazy" to image tag. Changed alt text to show host username. --- templates/content-index.tpl.html | 7 ++++++- templates/host-thumbnail.tpl.html | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 templates/host-thumbnail.tpl.html diff --git a/templates/content-index.tpl.html b/templates/content-index.tpl.html index 69c98f5..9116754 100644 --- a/templates/content-index.tpl.html +++ b/templates/content-index.tpl.html @@ -1,4 +1,5 @@ + @@ -35,6 +36,7 @@

Latest Shows

+
@@ -43,7 +45,9 @@

hpr ::

- + + +
Hosted by on is flagged as and released under a license.

| @@ -57,6 +61,7 @@ +

diff --git a/templates/host-thumbnail.tpl.html b/templates/host-thumbnail.tpl.html new file mode 100644 index 0000000..a7dda96 --- /dev/null +++ b/templates/host-thumbnail.tpl.html @@ -0,0 +1,3 @@ + +Thumbnail of <!--% host_name | html %-->loading="lazy" /> +