From 98aa668557ae6f09963543bfe1caceb7cb16f76f Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Tue, 10 Mar 2026 14:49:54 +0100 Subject: [PATCH] feat(templates/base.html): add additional blocks --- kursy/templates/base.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/kursy/templates/base.html b/kursy/templates/base.html index 4cdecc1..e967d44 100644 --- a/kursy/templates/base.html +++ b/kursy/templates/base.html @@ -30,17 +30,25 @@ {% block extra_css %} {# Override this in templates to add extra stylesheets #} {% endblock %} + + {% block extra_head %} + {% endblock extra_head %} - + {% include "header.html" %} {% wagtailuserbar %} - {% block content %}{% endblock %} + {% block body %} + {% block content %} + {% endblock content %} + {% endblock body %} {# Global javascript #} + {% block extra_body %} + {% endblock extra_body %} {% block extra_js %} {# Override this in templates to add extra javascript #} {% endblock %}