Spookie/templates/themes/default/pages/index.html.twig

13 lines
403 B
Twig

{% 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 %}