Filtr pro kládání videa do obsahu
parent
a46742a83a
commit
039c5a4891
@ -1,3 +1,5 @@
|
||||
+++
|
||||
title="Page 1"
|
||||
+++
|
||||
|
||||
{{ video(title="Video title",src="",author="Jane Doe",date="2019-12-24") }}
|
||||
|
@ -0,0 +1,4 @@
|
||||
{% 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 %}
|
Reference in New Issue