[TWIG] Microformats added to timeline, note's view and media. Should be backwards compatible as well.

Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
This commit is contained in:
2021-07-23 13:04:04 +01:00
committed by Hugo Sales
parent cab7ba8e79
commit 701b4967b4
6 changed files with 25 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<div>
<figure>
<video src="{{ path('attachment_view', {'id': attachment.getId()}) }}" controls poster="{{ path('attachment_thumbnail', thumbnail_parameters) }}">
<video class="u-video" src="{{ path('attachment_view', {'id': attachment.getId()}) }}" controls poster="{{ path('attachment_thumbnail', thumbnail_parameters) }}">
</video>
<figcaption><a
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getTitle() }}</a>