{% extends "public_base.html" %} {% from "courses/_visibility.html" import withheld_badge %} {% block title %}{{ page.name }} · {{ course.name }} · {{ site.name }}{% endblock %} {% block hero %} {{ render_block('hero', eyebrow=course.name, title=page.name, subtitle=page.category.name if page.category else '') }} {% endblock %} {% block content %}
{# No trail here. The shell draws one, from the breadcrumb this view passes it, and it says the same thing one line higher up. Two of them on one page is not twice as helpful: a reader who sees the second one reads it as a different navigation and looks for the difference. #}

{{ withheld_badge(page) }}

{# Already rendered and sanitised by the feature's markdown helper. #}
{{ body_html }}
{% if attachments %}

{{ _('Files') }}

{% endif %}
{% include "courses/_course_aside.html" %}
{% endblock %}