From fed7dc2639c80cafcc0c0d433b7a673c9dbc5904 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sun, 5 Apr 2020 10:23:14 +0200 Subject: [PATCH] Citace pod videem --- templates/shortcodes/video.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/shortcodes/video.html b/templates/shortcodes/video.html index 9ce6f5d..afdac38 100644 --- a/templates/shortcodes/video.html +++ b/templates/shortcodes/video.html @@ -1,4 +1,9 @@ -{% if title %}
{{ title }}
{% endif %} -{% if author %}
{{ author }}
{% endif %} -{% if date %}
{{ date }}
{% endif %} +{% if title or year and author %} +
+ {% if title %}{{ title }}{% endif %} + {% if author and year %} + ({{ year }}, {{ author }}) + {% endif %} +
+{% endif %}