From 820c9092e9b5ba5c9aaa935bed9cfb36767440df Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Mon, 2 Feb 2026 23:13:00 +0100 Subject: [PATCH] fix: move hero block inside content block The `hero` block was defined at the top level of `web.html`, but since `web.html` extends `base.html` which has no `hero` block, that content was simply discarded. By moving it inside the `content` block, child template's overrides will now work correctly. --- frappe/templates/web.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/templates/web.html b/frappe/templates/web.html index 652c62d760..a3e19fff78 100644 --- a/frappe/templates/web.html +++ b/frappe/templates/web.html @@ -1,8 +1,9 @@ {% extends base_template_path %} -{% block hero %}{% endblock %} {% block content %} +{% block hero %}{% endblock %} + {% macro main_content() %}