Add show_avatar MACRO
This commit is contained in:
parent
7a6ace156f
commit
3a8b6db348
@ -9,3 +9,8 @@
|
|||||||
<!--% MACRO get_avatar(host_id, host_name, is_lazy_loaded) BLOCK %-->
|
<!--% 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) %--> />
|
<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 %-->
|
<!--% END %-->
|
||||||
|
<!--% MACRO show_avatar(host_id, host_name, is_lazy_loaded) BLOCK %-->
|
||||||
|
<!--% IF get_avatar_src(host_id) != 'hpr_logo.png' %-->
|
||||||
|
<a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host_id) %-->.html"><!--% get_avatar(host_id, host_name, is_lazy_loaded) %--></a><br>
|
||||||
|
<!--% END %-->
|
||||||
|
<!--% END %-->
|
||||||
|
Reference in New Issue
Block a user