{% extends "base.html" %} {# Wagtail LMS Lesson Page Template STYLING: This template uses CSS classes from 'wagtail_lms/css/course.css'. Include the stylesheet in your base template's section: {% load static wagtailcore_tags %} Alternatively, override this template with your own (Bootstrap, Tailwind, etc.). See docs: https://github.com/dr-rompecabezas/wagtail-lms/blob/main/docs/template_customization.md #} {% load static wagtailcore_tags %} {% block title %}{{ page.title }}{% endblock %} {% block content %}

{{ page.title }}

{% if lesson_completion %}
✓ Lesson completed {{ lesson_completion.completed_at|date:"M d, Y" }}
{% endif %}
{% if page.intro %}
{{ page.intro|richtext }}
{% endif %} {% for block in page.body %}
{% include_block block %}
{% endfor %}
{% if page.has_h5p_activity_blocks %} {# CSRF token for h5p-lesson.js xAPI fetch calls #} {% csrf_token %} {# h5p-standalone player — loaded once, shared by all activities on the page #} {% endif %} {% endblock %}