feat(home/course_module_page.html): add CourseModulePage template

This commit is contained in:
2026-03-12 11:27:56 +01:00
parent 765ee76239
commit aaffcb7a4e

View File

@@ -0,0 +1,21 @@
{% extends "base.html" %}
{% load static %}
{% load wagtailcore_tags %}
{% block title %}{{ page.full_title }}{% endblock %}
{% block body_class %}template-homepage{% 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.course.url }}" class="font-bold">{{ page.course.title }}</a> &raquo; {{ page.title }}
</h2>
{{ page.body|richtext }}
{% endblock content %}