From 0a3e0fa7556e549510f65441a5fa991e4555b15c Mon Sep 17 00:00:00 2001 From: imperosol Date: Sun, 9 Nov 2025 23:06:32 +0100 Subject: [PATCH] fix: url in news_detail og:image --- core/templates/core/macros.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) %}