Add Page support
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user