leilukin-tumbleblog/themes/blossom/feathers/video.twig

18 lines
607 B
Twig
Raw Permalink Normal View History

2024-06-20 14:10:42 +00:00
{% 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 %}
{% if post.description is not empty %}
<section class="description" aria-label="{{ 'Text Content' | translate }}">
{{ post.description }}
</section>
{% endif %}
<section class="video" aria-label="{{ 'File Attachment' | translate }}">
{{ post.video_player }}
</section>
{% endblock %}