diff --git a/cloudflare_error_page/templates/error.html b/cloudflare_error_page/templates/error.html
index 823349f..e2520d3 100644
--- a/cloudflare_error_page/templates/error.html
+++ b/cloudflare_error_page/templates/error.html
@@ -14,7 +14,7 @@
-{% block header %}{% endblock %}
+{% block html_head %}{% endblock %}
diff --git a/editor/server/utils.py b/editor/server/utils.py
index 1de753d..5a091c2 100644
--- a/editor/server/utils.py
+++ b/editor/server/utils.py
@@ -20,7 +20,7 @@ env = Environment(
)
template = env.from_string('''{% extends base %}
-{% block header %}
+{% block html_head %}
{% if page_icon_url %}
{% if page_icon_type %}
diff --git a/resources/templates/error.html b/resources/templates/error.html
index 2f4d37e..bb3a616 100644
--- a/resources/templates/error.html
+++ b/resources/templates/error.html
@@ -13,7 +13,7 @@
-{% block header %}{% endblock %}
+{% block html_head %}{% endblock %}