From cbebadbe699a0a78e8873545a8320361d0f7eeb0 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Fri, 19 Jun 2020 16:20:11 +0200 Subject: [PATCH] Add a pre_content_page_title block --- .../templates/basetheme_bootstrap/basePasteur.html | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html index c74b3ee..d369323 100644 --- a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html +++ b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html @@ -84,7 +84,9 @@ <main role="main" class="flex-shrink-0"> <div class="{% block container-class %}container mb-4{% endblock %}"> <div class="row"> + {% block pre_content_page_title %} {% include_if_exists "pre_content_page_title.html"|localize_template "basetheme_bootstrap/pre_content_page_title.example.html" %} + {% endblock pre_content_page_title %} {% block whole_content_page_title %} <div class="pb-2 mt-4 mb-2 col-12"> {% block content_page_title %} diff --git a/setup.py b/setup.py index 2498232..cad710a 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.36', + version='0.2.37', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab