mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix OG meta display
This commit is contained in:
parent
6873ede288
commit
4fcf585c23
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue