diff --git a/core/templates/core/macros.jinja b/core/templates/core/macros.jinja index cb2b04ab..78eb756b 100644 --- a/core/templates/core/macros.jinja +++ b/core/templates/core/macros.jinja @@ -13,11 +13,11 @@ {%- endmacro %} {% macro link_news_logo(news) -%} - {% if news.club.logo -%} + {%- if news.club.logo -%} {{ news.club.logo.url }} - {% else -%} + {%- else -%} {{ static("com/img/news.png") }} - {% endif %} + {%- endif -%} {%- endmacro %} {% macro user_mini_profile(user) %}