feat(templates/module_lesson_page.html): add ModuleLessonPage template

This commit is contained in:
2026-03-17 12:46:46 +01:00
parent 42830dbc45
commit f95a4915bd

View File

@@ -0,0 +1,25 @@
{% extends "base.html" %}
{% load static wagtailcore_tags i18n %}
{% block title %}{{ page.full_title }}{% endblock %}
{% block body_class %}template-modulelessonpage{% endblock %}
{% block extra_css %}
{% endblock extra_css %}
{% block content_class %}prose{% endblock content_class %}
{% block content %}
<h2 class="not-prose text-xl mb-4 text-gray-700">
<a href="{{ page.module.course.url }}" class="font-bold">{{ page.module.course.title }}</a>
&raquo;
<a href="{{ page.module.url }}" class="font-bold">{{ page.module.title }}</a>
&raquo;
<span class="text-gray-500">{{ page.title }}</span>
</h2>
{{ page.body|richtext }}
{% endblock content %}