mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 05:32:08 +00:00
🐛 Fix conditional
Can't check for an image URL if there is no image!
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<div class="space-y-3">
|
||||
{% for author in library.authors.all %}
|
||||
<div>
|
||||
{% if author.image.url %}
|
||||
{% if author.image %}
|
||||
<img src="{{ author.image.url }}" alt="user" class="inline w-[47px] rounded mr-2" />
|
||||
{% else %}
|
||||
<i class="fas fa-user text-5xl mr-2 text-white/60"></i>
|
||||
|
||||
Reference in New Issue
Block a user