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

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 }}">