diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-06-17 20:47:58 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-06-17 20:50:00 -0700 |
commit | 1ba241186299df50a94efd3d410a4422bdc2d6c3 (patch) | |
tree | f6d387972acb2f743e6aee0b0baaa3d4d524ac53 /youtube/templates/watch.html | |
parent | 2db58930a6f8c955c4d437657bd07e2939a705f2 (diff) | |
download | yt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.tar.lz yt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.tar.xz yt-local-1ba241186299df50a94efd3d410a4422bdc2d6c3.zip |
Inherit from base template
Diffstat (limited to 'youtube/templates/watch.html')
-rw-r--r-- | youtube/templates/watch.html | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 7e83306..f00413d 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -1,13 +1,6 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <title>{{ title }}</title> - <link href="/youtube.com/static/shared.css" type="text/css" rel="stylesheet"> - <link href="/youtube.com/static/comments.css" type="text/css" rel="stylesheet"> - <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"> - <link title="Youtube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"> - <style type="text/css"> +{% extends "base.html" %} +{% block page_title %}{{ title }}{% endblock %} +{% block style %} main{ display:grid; grid-template-columns: minmax(0px, 3fr) 640px 40px 500px minmax(0px,2fr); @@ -150,11 +143,9 @@ grid-template-columns: 60px 90px auto; max-height: 1.2em; } - </style> - </head> - <body> -{{ header|safe }} - <main> +{% endblock style %} + +{% block main %} <div id="left"> </div> <article class="full-item"> @@ -212,11 +203,4 @@ {{ related|safe }} </nav> - </main> - - - - - - </body> -</html> +{% endblock main %} |