diff --git a/tfjm/templates/index_eteam.html b/tfjm/templates/index_eteam.html index 9d8611a..3a0714b 100644 --- a/tfjm/templates/index_eteam.html +++ b/tfjm/templates/index_eteam.html @@ -2,6 +2,8 @@ {% load i18n %} +{% block content-title %}{% endblock %} + {% block content %}
diff --git a/tfjm/templates/index_tfjm.html b/tfjm/templates/index_tfjm.html index 635ae3b..ba282d6 100644 --- a/tfjm/templates/index_tfjm.html +++ b/tfjm/templates/index_tfjm.html @@ -2,6 +2,8 @@ {% load i18n %} +{% block content-title %}{% endblock %} + {% block content %}
diff --git a/tfjm/urls.py b/tfjm/urls.py index 27e0f6f..d795a49 100644 --- a/tfjm/urls.py +++ b/tfjm/urls.py @@ -30,7 +30,8 @@ from .views import AdminSearchView urlpatterns = [ # TODO ETEAM Rendre ça plus joli - path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html", extra_context=_("Home")), + path('', TemplateView.as_view(template_name=f"index_{settings.TFJM_APP.lower()}.html", + extra_context={'title': _("Home")}), name='index'), path('about/', TemplateView.as_view(template_name="about.html"), name='about'), path('i18n/', include('django.conf.urls.i18n')),