From 59248bad7396acd8e4cf14978d9ceba94f72ef39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 10 Apr 2020 10:28:35 +0200 Subject: [PATCH] add note title in page --- chloro/phyll/templates/phyll/base.html | 2 +- chloro/phyll/templates/phyll/note_detail.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/chloro/phyll/templates/phyll/base.html b/chloro/phyll/templates/phyll/base.html index aa0f2cf..54a1f4a 100644 --- a/chloro/phyll/templates/phyll/base.html +++ b/chloro/phyll/templates/phyll/base.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <!-- 🌱 --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Coin web de Frédéric Péters + {% block page-title %}Coin web de Frédéric Péters{% endblock %} {% block bottom-head %} diff --git a/chloro/phyll/templates/phyll/note_detail.html b/chloro/phyll/templates/phyll/note_detail.html index 4c919c2..240929b 100644 --- a/chloro/phyll/templates/phyll/note_detail.html +++ b/chloro/phyll/templates/phyll/note_detail.html @@ -2,6 +2,7 @@ {% load i18n %} {% block content-class %}post{% endblock %} +{% block page-title %}{{ object.title }} - {{ block.super }}{% endblock %} {% block body %}
-- 2.39.2