forked from HPR/hpr_generator
		
	Rename MACRO host_thumb to get_avatar
Update to use lazy_load MACRO and minimize number of arguments needed.
This commit is contained in:
		| @@ -6,6 +6,6 @@ | ||||
| <!--% USE File ("./public_html/images/hosts/${host_id}.png") %-->hosts/<!--% File.name %--> | ||||
| <!--% CATCH File %-->hpr_logo.png<!--% END %--> | ||||
| <!--% END %--> | ||||
| <!--% MACRO host_thumb(avatar, host_name, host_cnt, min_cnt) BLOCK %--> | ||||
| <img src="<!--% absolute_path(baseurl) %-->images/<!--% avatar %-->" height="80" width="80" alt="Thumbnail of <!--% host_name | html %-->" <!--% IF host_cnt > min_cnt %-->loading="lazy"<!--% END %--> /> | ||||
| <!--% 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) %--> /> | ||||
| <!--% END %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user