Spookie/templates/themes/24unix.net/pages/index.html.twig

13 lines
403 B
Twig
Raw Normal View History

2022-11-15 16:34:59 +01:00
{% 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 %}