{% extends '@default/base.html.twig' %}

{% block title %}page_name{% endblock %}

{% block body %}
    {{ page.content | raw }}
    <br>
    Page created by: <a href="{{ path('app_profile', { 'username': page.owner.username }) }}">{{ page.owner.username }}</a>
    {{ page.createdAt | ago }}
    {% if page.modifiedAt %}
        (last update: {{ page.modifiedAt | ago }})
    {% endif %}
{% endblock %}

