diff --git a/templates/macros.html b/templates/macros.html
index d4238e0..c41105b 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -171,17 +171,14 @@
{% endmacro %}
{% macro profile_picture(profile) %}
- {% set_global img_found = 0 %}
+ {% set_global img = "../static/placeholder-avatar.jpg" %}
{% for asset in profile.assets %}
{% if asset is matching("img.(jpg|png)$") %}
- {% set_global img_found = 1 %}
-
+ {% set_global img = asset %}
{% break %}
{% endif %}
{% endfor %}
- {% if not img_found == 1 %}
-
- {% endif %}
+
{% endmacro %}
{% macro profile_info(profile) %}
@@ -221,17 +218,14 @@