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 %}