leilukin-tumbleblog/themes/leilukin/feathers/text.twig

13 lines
434 B
Twig
Raw Normal View History

{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
{% if post.title is not empty %}
<h2 class="post_title">
<a href="{{ post.url() }}" rel="bookmark" title="{{ 'Permanent link to &#8220;%s&#8221;' | translate | format(post.title | striptags | normalize | fix(true)) }}">{{ post.title }}</a>
</h2>
{% endif %}
<section class="body" aria-label="{{ 'Text Content' | translate }}">
{{ post.body }}
</section>
{% endblock %}