From 83d9156f17c40f0240f649fd27c425ffa8f8f35a Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Mon, 1 Aug 2022 20:19:44 -0400 Subject: [PATCH] Fix file existence logic for get_avatar MACRO Test for existence on filesystem --- templates/content-correspondent.tpl.html | 2 +- templates/content-correspondents.tpl.html | 2 +- templates/content-index.tpl.html | 3 ++- templates/shared-avatar.tpl.html | 6 ++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/content-correspondent.tpl.html b/templates/content-correspondent.tpl.html index 56664ac..1a50dcd 100644 --- a/templates/content-correspondent.tpl.html +++ b/templates/content-correspondent.tpl.html @@ -32,7 +32,7 @@

Correspondent

-

Host Image
:


diff --git a/templates/content-correspondents.tpl.html b/templates/content-correspondents.tpl.html index ff1f0dd..65f6280 100644 --- a/templates/content-correspondents.tpl.html +++ b/templates/content-correspondents.tpl.html @@ -17,7 +17,7 @@ on h.hostid = e.hostid ' ) %--> - avatar + avatar
diff --git a/templates/content-index.tpl.html b/templates/content-index.tpl.html index 63bd910..71a7fc4 100644 --- a/templates/content-index.tpl.html +++ b/templates/content-index.tpl.html @@ -1,4 +1,5 @@ +


@@ -46,7 +47,7 @@

hpr ::

-


Hosted by on is flagged as and released under a license.
+


Hosted by on is flagged as and released under a license.
Tags: .
listen in ogg, spx, or mp3 format. comments (0) diff --git a/templates/shared-avatar.tpl.html b/templates/shared-avatar.tpl.html index 13a654e..ffda253 100644 --- a/templates/shared-avatar.tpl.html +++ b/templates/shared-avatar.tpl.html @@ -1,3 +1,5 @@ - -hpr_logo.pnghosts/.png + + +hosts/ +hpr_logo.png