|
|
|
@ -37,6 +37,17 @@
|
|
|
|
|
<h1>{{ section.title }}</h1>
|
|
|
|
|
{% if section.extra.group %}<div class="metadata">Cílová skupina – {{ section.extra.group }}</div>{% endif %}
|
|
|
|
|
{% if section.extra.time %}<div class="metadata">Časová dotace – {{ section.extra.time }}</div>{% endif %}
|
|
|
|
|
{% if section.extra.author %}<div class="metadata">Autor – {{ section.extra.author }}</div>{% endif %}
|
|
|
|
|
{% if section.extra.authors %}
|
|
|
|
|
{% if section.extra.authors | length > 1 %}
|
|
|
|
|
<div class="metadata">Autoři –
|
|
|
|
|
{% for author in section.extra.authors %}
|
|
|
|
|
{{ author }}
|
|
|
|
|
{% if not author == section.extra.authors | last %}, {% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="metadata">Autor – {{ section.extra.authors[0] }}</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{{ section.content | safe }}
|
|
|
|
|
{% endblock content %}
|
|
|
|
|