9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-23 08:49:25 +00:00

python: rename head block in base template to 'html_head'

This commit is contained in:
Anthony Donlon
2025-12-21 20:42:58 +08:00
parent 36a1119908
commit 21d14994de
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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 %}
<link rel="icon" href="{{ page_icon_url }}" type="{{ page_icon_type }}">

View File

@@ -13,7 +13,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
{% block header %}{% endblock %}
{% block html_head %}{% endblock %}
<!-- @INLINE_CSS_HERE@ -->
</head>
<body>