Fix OG meta display

main
Thomas Sileo 2022-09-20 20:15:59 +02:00
parent 6873ede288
commit 4fcf585c23
1 changed files with 3 additions and 2 deletions

View File

@ -295,7 +295,7 @@
{% macro display_og_meta(object) %}
{% if object.og_meta %}
{% for og_meta in object.og_meta %}
{% for og_meta in object.og_meta[:1] %}
<div class="activity-og-meta">
{% if og_meta.image %}
<div>
@ -442,10 +442,11 @@
</form>
{% endif %}
{{ display_og_meta(object) }}
{% endif %}
{{ display_og_meta(object) }}
</div>
{% if object.summary %}
</div>