Make site_name optional of OG metadata

This commit is contained in:
Thomas Sileo 2022-07-31 15:27:12 +02:00
parent 3b74ecff29
commit b557035eac
2 changed files with 6 additions and 4 deletions

View file

@ -285,7 +285,9 @@
</div>
<div>
<a href="{{ og_meta.url }}">{{ og_meta.title }}</a>
<small style="display:block;">{{ og_meta.site_name }}</small>
{% if og_meta.site_name %}
<small style="display:block;">{{ og_meta.site_name }}</small>
{% endif %}
</div>
{% endif %}
</div>