mirror of
https://github.com/donlon/cloudflare-error-page.git
synced 2025-12-28 19:29:10 +00:00
editor/server: add meta information in user-created pages
This commit is contained in:
@@ -8,12 +8,14 @@
|
||||
<head>
|
||||
{% set error_code = params.error_code or 500 %}
|
||||
{% set title = params.title or 'Internal server error' %}
|
||||
<title>{{ params.html_title or ((error_code | string) + ': ' + title) }}</title>
|
||||
{% set html_title = params.html_title or ((error_code | string) + ': ' + title) %}
|
||||
<title>{{ html_title }}</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<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 %}
|
||||
<link rel="stylesheet" id="cf_styles-css" href="{{resources_cdn}}/cdn-cgi/styles/main.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user