Merge pull request #1239 from ae-utbm/fix-og

fix: url in news_detail og:image
This commit is contained in:
thomas girod
2025-11-09 23:07:15 +01:00
committed by GitHub

View File

@@ -13,11 +13,11 @@
{%- endmacro %} {%- endmacro %}
{% macro link_news_logo(news) -%} {% macro link_news_logo(news) -%}
{% if news.club.logo -%} {%- if news.club.logo -%}
{{ news.club.logo.url }} {{ news.club.logo.url }}
{% else -%} {%- else -%}
{{ static("com/img/news.png") }} {{ static("com/img/news.png") }}
{% endif %} {%- endif -%}
{%- endmacro %} {%- endmacro %}
{% macro user_mini_profile(user) %} {% macro user_mini_profile(user) %}