22 lines
551 B
Twig
22 lines
551 B
Twig
{% extends "layouts" ~ DIR ~ "default.twig" %}
|
|
|
|
{% block content %}
|
|
<article id="page_{{ page.id }}" class="page">
|
|
<header>
|
|
<h2>
|
|
<a href="{{ page.url() }}" rel="bookmark" title="{{ 'Permanent link to “%s”' | translate | format(page.title | striptags | normalize | fix(true)) }}">{{ page.title }}</a>
|
|
</h2>
|
|
</header>
|
|
<section>
|
|
{{ page.body }}
|
|
</section>
|
|
<footer>
|
|
{% if page.editable() or page.deletable() %}
|
|
<div class="doaction admin">
|
|
{{ page.edit_link() }} {{ page.delete_link() }}
|
|
</div>
|
|
{% endif %}
|
|
</footer>
|
|
</article>
|
|
{% endblock %}
|