feat(home/course_page.html): add description to course page template

This commit is contained in:
2026-03-19 17:56:53 +01:00
parent 9f779407af
commit 72fca4228c

View File

@@ -17,9 +17,13 @@
</h1> </h1>
{% if page.course_image %} {% if page.course_image %}
{% image page.course_image original alt=page.title class="w-full h-auto rounded-lg mb-6" %} {% image page.course_image original alt=page.title class="w-full h-auto rounded-lg mb-4" %}
{% endif %} {% endif %}
<p class="not-prose text-gray-600 mb-6 text-lg">
{{ page.description }}
</p>
{{ page.body|richtext }} {{ page.body|richtext }}
{% if user_has_access %} {% if user_has_access %}