Add "location" support (embed a tag with a Place object)

This commit is contained in:
Thomas Sileo
2019-10-27 19:05:42 +01:00
parent cf983ca9f3
commit e611d61739
4 changed files with 93 additions and 1 deletions

View File

@@ -208,6 +208,11 @@
{% else %}
{{ obj.content | clean | replace_custom_emojis(obj) | code_highlight | safe }}
{% endif %}
{% if obj | has_place %}
<p>Location: {{ obj | get_place | safe }}</p>
{% endif %}
</div>
{% if obj.attachment and obj | has_type('Note') %}