fix: url in news_detail og:image

This commit is contained in:
imperosol
2025-11-09 23:06:32 +01:00
parent 2984e14746
commit 0a3e0fa755

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) %}