{% endblock %}
{% block content_main %}
{% block content_main_before %}
{% endblock %}
{# page-list-search should be fully managed by react.js,
# but now the header and page list content is rendered separately by the server,
# so now bind the values through the hidden fields.
#}
{% if false %} {# Disable temporaly -- 2018.03.08 Yuki Takei #}
{% if searchConfigured() && !isTopPage() && !isTrashPage() %}
{% endif %}
{% endif %}
{% include '../widget/page_content.html' %}
{% include '../widget/page_list_and_timeline.html' %}
{% endblock %}
{% block content_main_after %}
{% endblock %}
{% block content_footer %}
{% endblock %}
{% block side_header %}
{% if not page and not isUserPageList(path) and !isTrashPage() %}
{% include '../widget/create_portal.html' %}
{% else %}
{% include 'widget/page_side_header.html' %}
{% endif %}
{% endblock %} {# side_header #}
{% block body_end %}
{% include '../modal/what_is_portal.html' %}
{% include '../modal/unportalize.html' %}