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

13 lines
403 B
Twig
Raw Normal View History

2022-11-03 19:17:07 +01:00
{% extends '@default/base.html.twig' %}
{% block title %}page_name{% endblock %}
{% block body %}
2022-11-05 17:18:04 +01:00
{{ page.content | raw }}
2022-11-04 10:33:44 +01:00
<br>
2022-11-05 17:18:04 +01:00
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 %}
2022-11-03 19:17:07 +01:00
{% endblock %}