diff --git a/templates/section.html b/templates/section.html index 92b4cfa..b7b57e2 100644 --- a/templates/section.html +++ b/templates/section.html @@ -37,6 +37,17 @@

{{ section.title }}

{% if section.extra.group %}
Cílová skupina – {{ section.extra.group }}
{% endif %} {% if section.extra.time %}
Časová dotace – {{ section.extra.time }}
{% endif %} - {% if section.extra.author %}
Autor – {{ section.extra.author }}
{% endif %} + {% if section.extra.authors %} + {% if section.extra.authors | length > 1 %} +
Autoři – + {% for author in section.extra.authors %} + {{ author }} + {% if not author == section.extra.authors | last %}, {% endif %} + {% endfor %} +
+ {% else %} +
Autor – {{ section.extra.authors[0] }}
+ {% endif %} + {% endif %} {{ section.content | safe }} {% endblock content %}