Archived
4
2

Add absolute_path MACRO

Used with baseurl to make a path relative or absolute.
This commit is contained in:
2022-08-05 15:49:00 -04:00
parent 30f0c9924a
commit dcc0f3d6b0
4 changed files with 11 additions and 6 deletions

View File

@@ -35,7 +35,7 @@
<!--% this_host = hosts.$id %-->
<h2 class="title">Correspondent</h2>
<h2><!--% this_host.host %--></h2>
<p><img src="./images/<!--% get_avatar(this_host.hostid) %-->"
<p><img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(this_host.hostid) %-->"
height="80" alt="Host Image" /><br>
<label>Host ID</label>: <!--% this_host.hostid %--><br><br>
<label>email:</label> <u><!--% this_host.email %--></u><br>