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