leilukin-tumbleblog/themes/topaz/pages/page.twig

22 lines
551 B
Twig
Raw Normal View History

2024-06-20 14:10:42 +00:00
{% 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 &#8220;%s&#8221;' | 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 %}