From: Frédéric Péters Date: Fri, 10 Apr 2020 08:28:35 +0000 (+0200) Subject: add note title in page X-Git-Tag: v2022~36 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=59248bad7396acd8e4cf14978d9ceba94f72ef39;hp=bc9465f40ac179efe6e398370fb9f9054413a292 add note title in page <title> --- 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 %}