diff --git a/home/templates/home/course_page.html b/home/templates/home/course_page.html index bdfc1f0..f38031b 100644 --- a/home/templates/home/course_page.html +++ b/home/templates/home/course_page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static i18n wagtailcore_tags %} +{% load static i18n wagtailcore_tags wagtailimages_tags %} {% block title %}{{ page.title }}{% endblock %} @@ -16,6 +16,10 @@ {{ page.title }} + {% if page.course_image %} + {% image page.course_image original alt=page.title class="w-full h-auto rounded-lg mb-6" %} + {% endif %} + {{ page.body|richtext }} {% if user_has_access %}