Utilisation de lesson.content au lieu de lesson.description pour le bloc description dans le template des leçons.
This commit is contained in:
parent
99c21a3692
commit
6a5284f27f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue