Inherit from base template
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Error</title>
|
||||
<link href="/youtube.com/shared.css" type="text/css" rel="stylesheet">
|
||||
<link href="/youtube.com/comments.css" type="text/css" rel="stylesheet">
|
||||
<link href="/youtube.com/favicon.ico" type="image/x-icon" rel="icon">
|
||||
<link title="Youtube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml">
|
||||
</head>
|
||||
<body>
|
||||
{{ header|safe }}
|
||||
<main>
|
||||
{{ error_message }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}Error{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
{{ error_message }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user