{% extends "_base_course.html" %} {% block title %} {%- if not is_canonical_lesson -%} {{ course.title }}: {% endif -%} {{ page.title }} {%- endblock title %} {% block style %} {% if page.css %} {{ page.css }} {% endif %} {% endblock style %} {% block extra_links %} {% if canonical_url is defined and canonical_url %}{% endif %} {% endblock %} {% block breadcrumbs %} {# Only used if course is provided #} > {{ course.title }} {% if page.lesson.material %} > {{ page.lesson.material.session.title }} {% endif %} > {{ page.lesson.title }} {% if page.slug != 'index' %} {% if page.subtitle %} > {{ page.subtitle }} {% else %} > {{ page.title }} {% endif %} {% endif %} {% endblock %} {% block warning_msg %} {% if error_in_fork|default(false) %} {% include "_using_default_page.html" %} {% endif %} {% endblock %} {% block course_content %} {% if solution|default(None) is not none %}

{{ page.title }} – Řešení [{{ solution.index }}]

{% endif %} {{ content }} {% endblock %} {% block attributions %} {% for a in page.attribution %}

{{ a }}

{% endfor %} {% endblock attributions %} {% block license %}

Licence: {{ page.license.title }}

{% if page.license_code %}

Licence ukázek kódu: {{ page.license_code.title }}

{% endif %} {% endblock license %} {%- block prev_next %} {%- set mat = page.lesson.material %} {%- if mat and not is_canonical_lesson %} {% call nav.prevnext() %} {% if page.slug != 'index' %} {{ nav.prev(mat.get_url(), mat.title) }} {% elif mat.prev %} {{ nav.prev(mat.prev.get_url(), mat.prev.title) }} {% endif %} {% if mat.session %} {{ nav.up(mat.session.get_url(), 'Lekce: ' + mat.session.title) }} {% endif %} {% if mat.next %} {{ nav.next(mat.next.get_url(), mat.next.title) }} {% elif mat.session %} {{ nav.next(mat.session.pages['back'].get_url(), 'Závěr lekce') }} {% endif %} {% endcall %} {% endif %} {{-'\n'}} {%- endblock prev_next %} {% block extra_header_items -%} {% if page.modules.get('katex') == '0.7.1' %} {% endif %} {%- endblock %} {% block extra_javascript -%} {% if page.modules.get('katex') == '0.7.1' %} {% endif %} {%- endblock %} {% block lesson_end -%} {% if page.lesson.material and not is_canonical_lesson %}
{% if not page.course.canonical %}
Toto je stránka lekce z kurzu, který probíhá nebo proběhl naživo s instruktorem. {% if page.course.derives %} {% if canonical_url %} Přejít na stejnou lekci v kurzu pro samouky. {% endif %} {% endif %}
{% endif %} {%- endif %} {%- endblock %}