From 6a5284f27f762c37e9c02be0fb2c98e639306068 Mon Sep 17 00:00:00 2001 From: mrtoine Date: Mon, 15 Dec 2025 07:26:21 +0100 Subject: [PATCH] =?UTF-8?q?Utilisation=20de=20`lesson.content`=20au=20lieu?= =?UTF-8?q?=20de=20`lesson.description`=20pour=20le=20bloc=20description?= =?UTF-8?q?=20dans=20le=20template=20des=20le=C3=A7ons.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/courses/lesson.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/courses/lesson.html b/templates/courses/lesson.html index 1a1b2b5..f49b9ad 100644 --- a/templates/courses/lesson.html +++ b/templates/courses/lesson.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% block title %}{{ course.name }} : {{ lesson.name }}{% endblock %} {% block og_title %}{{ course.name }} : {{ lesson.name }}{% endblock %} -{% block description %}{{ lesson.description|truncatewords:20 }}{% endblock %} +{% block description %}{{ lesson.content|truncatewords:20 }}{% endblock %} {% block og_image %}{{ course.thumbnail.url }}{% endblock %} {% block content %}