Add Page support
This commit is contained in:
parent
323d069bf9
commit
8df4be0602
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
{{ utils.display_actor_inline(data, size=80) }}
|
||||
{% elif data | has_type('Create') %}
|
||||
{{ utils.display_note(data.object, ui=True) }}
|
||||
{% elif data | has_type(['Note', 'Article', 'Video']) %}
|
||||
{% elif data | has_type(['Note', 'Article', 'Video', 'Audio', 'Page']) %}
|
||||
{{ utils.display_note(data, ui=True) }}
|
||||
{% elif data | has_type('Announce') %}
|
||||
{% set boost_actor = meta.actor %}
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="note-container{% if perma %} perma{%endif%} p-name e-content">
|
||||
{% if obj | has_type('Article') %}
|
||||
{% if obj | has_type(['Article', 'Page']) %}
|
||||
{{ obj.name }} <a href="{{ obj | url_or_id | get_url }}">{{ obj | url_or_id | get_url }}</a>
|
||||
{% elif obj | has_type('Question') %}
|
||||
{{ obj.content | clean | safe }}
|
||||
|
|
Loading…
Reference in a new issue