Add Page support

This commit is contained in:
Thomas Sileo
2019-04-19 00:33:59 +02:00
parent 323d069bf9
commit 8df4be0602
2 changed files with 2 additions and 2 deletions

View File

@@ -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 }}