aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/error.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-06-17 20:47:58 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-06-17 20:50:00 -0700
commit1ba241186299df50a94efd3d410a4422bdc2d6c3 (patch)
treef6d387972acb2f743e6aee0b0baaa3d4d524ac53 /youtube/templates/error.html
parent2db58930a6f8c955c4d437657bd07e2939a705f2 (diff)
downloadyt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.tar.lz
yt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.tar.xz
yt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.zip
Inherit from base template
Diffstat (limited to 'youtube/templates/error.html')
-rw-r--r--youtube/templates/error.html25
1 files changed, 8 insertions, 17 deletions
diff --git a/youtube/templates/error.html b/youtube/templates/error.html
index f253807..1f33c44 100644
--- a/youtube/templates/error.html
+++ b/youtube/templates/error.html
@@ -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 %}
+