Citace pod videem

master
Emil Miler 5 years ago
parent 8d201a765c
commit fed7dc2639

@ -1,4 +1,9 @@
{% if title %}<div class="title">{{ title }}</div>{% endif %}
<video controls><source src="{{ src }}"></video>
{% if author %}<div class="metadata">{{ author }}</div>{% endif %}
{% if date %}<div class="metadata">{{ date }}</div>{% endif %}
{% if title or year and author %}
<div class="metadata">
{% if title %}{{ title }}{% endif %}
{% if author and year %}
({{ year }}, {{ author }})
{% endif %}
</div>
{% endif %}