2023-03-14 03:03:15 +00:00
|
|
|
<!--% MACRO lazy_load(is_lazy) BLOCK %-->
|
|
|
|
<!--% IF is_lazy %-->loading="lazy"<!--% END %-->
|
|
|
|
<!--% END %-->
|
2023-03-12 07:48:51 +00:00
|
|
|
<!--% MACRO get_avatar_src(host_id) BLOCK %-->
|
2022-08-02 00:19:44 +00:00
|
|
|
<!--% TRY %-->
|
|
|
|
<!--% USE File ("./public_html/images/hosts/${host_id}.png") %-->hosts/<!--% File.name %-->
|
|
|
|
<!--% CATCH File %-->hpr_logo.png<!--% END %-->
|
2022-08-01 02:25:15 +00:00
|
|
|
<!--% END %-->
|
2023-03-14 03:10:36 +00:00
|
|
|
<!--% MACRO get_avatar(host_id, host_name, is_lazy_loaded) BLOCK %-->
|
|
|
|
<img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar_src(host_id) %-->" height="80" width="80" alt="Thumbnail of <!--% host_name | html %-->" <!--% lazy_load(is_lazy_loaded) %--> />
|
2023-03-12 07:48:51 +00:00
|
|
|
<!--% END %-->
|