added config variables for default community logo and user photo
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<div class="flex-shrink-0 w-40">
|
||||
<div class="border-2 border-gray-300 rounded mb-4">
|
||||
<img src="{{ photoURL }}" alt="{{ username }}'s photo" class="w-full h-auto rounded-3xl border-2 border-gray-300"
|
||||
onerror="this.src='/img/builtin/no-user.png'">
|
||||
onerror="this.src='{{ GlobalConfig.Site.DefaultUserPhoto }}'">
|
||||
</div>
|
||||
<div class="text-xs text-gray-700 space-y-2">
|
||||
<div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="flex-shrink-0">
|
||||
<img src="{{ post_profile_pic }}" alt="Profile image: {{ post_userName }}"
|
||||
class="w-16 h-16 rounded-lg border-2 border-gray-300"
|
||||
onerror="this.src='/img/builtin/no-user.png'">
|
||||
onerror="this.src='{{ GlobalConfig.Site.DefaultUserPhoto }}'">
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="flex-1">
|
||||
|
||||
Reference in New Issue
Block a user