From 7a500085281e0b7b7dce4a81b1793e60cb7668ee Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Thu, 7 Dec 2023 14:36:46 +0100 Subject: [PATCH] allows to add css in head tag --- .../templates/basetheme_bootstrap/basePasteur.html | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html index 73ca1af..e97d0b0 100644 --- a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html +++ b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html @@ -20,6 +20,7 @@ <link rel="stylesheet" href="{% sstatic '/css/bootstrap-multiselect.css' %}" type="text/css"/> <link rel="stylesheet" href="{% sstatic '/css/basetheme_bootstrap4_pasteur.css' %}"/> <link rel="stylesheet" href="{% sstatic '/css/basetheme_bootstrap4_pasteur_fonts.css' %}"/> + {% include_if_exists "extra_in_header.html"|localize_template %} {% block extra_css %}{% endblock %} </head> <body class="d-flex flex-column h-100"> diff --git a/setup.py b/setup.py index e991197..8e4fae4 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='1.5', + version='1.6', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab