{% extends 'base.html.twig' %}

{% block title %}{{page.title}} | Alex Daniels{% endblock %}

{% block body %}
    <section class="page">
        <h2>{{page.title}}</h2>
        {% if app.user %}
            <a href="/brain/page/edit/{{page.id}}">Edit</a><br>
        {% endif %}
    
        <div class="text">
            {{ page.text|raw}}
        </div>
    </section>
{% endblock %}
