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:
File diff suppressed because one or more lines are too long
@@ -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 }}">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user