From 93808cb16d25d56dde64617facd56d0884693d72 Mon Sep 17 00:00:00 2001 From: mrtoine Date: Mon, 15 Dec 2025 07:12:11 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20blocs=20de=20titre=20dynamique=20?= =?UTF-8?q?et=20des=20balises=20meta=20pour=20am=C3=A9liorer=20le=20SEO.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/courses/lesson.html | 1 + templates/courses/show.html | 1 + templates/layout.html | 85 ++++++++++------------------------- 3 files changed, 25 insertions(+), 62 deletions(-) diff --git a/templates/courses/lesson.html b/templates/courses/lesson.html index 1b98dd1..a73ee1b 100644 --- a/templates/courses/lesson.html +++ b/templates/courses/lesson.html @@ -1,4 +1,5 @@ {% extends 'layout.html' %} +{% block title %}{{ course.name }} : {{ lesson.name }}{% endblock %} {% block content %}
diff --git a/templates/courses/show.html b/templates/courses/show.html index 08f20ae..a74171f 100644 --- a/templates/courses/show.html +++ b/templates/courses/show.html @@ -1,4 +1,5 @@ {% extends 'layout.html' %} +{% block title %}{{ course.name }}{% endblock %} {% block content %}
diff --git a/templates/layout.html b/templates/layout.html index c162cb4..61b721c 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -3,16 +3,36 @@ + {% load static %} + + PartirDeZero - {% block title %}{% endblock %} + + + + + + + + + + + + + + + - + + {% block extra_head %}{% endblock %} + - PartirDeZero {% block header %} {% include "partials/_header.html" %} {% endblock %} - - +
{% if messages %}
    @@ -105,6 +65,7 @@ {% endfor %}
{% endif %} + {% block content %}{% endblock %}