forked from HPR/hpr_generator
Moved host thumbnail image tag to separate template file.
Added loading="lazy" to image tag. Changed alt text to show host username.
This commit is contained in:
3
templates/host-thumbnail.tpl.html
Normal file
3
templates/host-thumbnail.tpl.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!--% MACRO host_thumb(avatar, host_name, host_cnt) BLOCK %-->
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/<!--% avatar %-->" height="80" width="80" alt="Thumbnail of <!--% host_name | html %-->" <!--% IF host_cnt %-->loading="lazy"<!--% END %--> />
|
||||
<!--% END %-->
|
Reference in New Issue
Block a user