aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-10-05 10:29:23 +0800
committerJesús <heckyel@hyperbola.info>2022-10-05 10:29:23 +0800
commita19da4050c1bdabb60c5c248a8da2bf7ff869f9f (patch)
treeda6ab5524a087a942aa1fc37ec07efc198e1d8cb /youtube
parentc524eb16e5fbe30dcd217fa8ba2ccd7acaaa2cf4 (diff)
downloadyt-local-a19da4050c1bdabb60c5c248a8da2bf7ff869f9f.tar.lz
yt-local-a19da4050c1bdabb60c5c248a8da2bf7ff869f9f.tar.xz
yt-local-a19da4050c1bdabb60c5c248a8da2bf7ff869f9f.zip
Fix self closing tag w3c issues
Diffstat (limited to 'youtube')
-rw-r--r--youtube/templates/base.html12
-rw-r--r--youtube/templates/channel.html6
-rw-r--r--youtube/templates/embed.html10
-rw-r--r--youtube/templates/home.html2
-rw-r--r--youtube/templates/licenses.html2
-rw-r--r--youtube/templates/local_playlist.html4
-rw-r--r--youtube/templates/playlist.html6
-rw-r--r--youtube/templates/search.html4
-rw-r--r--youtube/templates/settings.html2
-rw-r--r--youtube/templates/subscription_manager.html2
-rw-r--r--youtube/templates/subscriptions.html4
-rw-r--r--youtube/templates/watch.html6
12 files changed, 30 insertions, 30 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index b68c250..393cc52 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -6,14 +6,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' blob: {{ app_url }}/* data: https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}">
<title>{{ page_title }}</title>
- <link title="YT Local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/>
- <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
- <link href="/youtube.com/static/normalize.css" rel="stylesheet"/>
- <link href="{{ theme_path }}" rel="stylesheet"/>
+ <link title="YT Local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml">
+ <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon">
+ <link href="/youtube.com/static/normalize.css" rel="stylesheet">
+ <link href="{{ theme_path }}" rel="stylesheet">
<link href="/youtube.com/shared.css" rel="stylesheet">
{% block style %}
{{ style }}
diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html
index 294f1df..5a567c0 100644
--- a/youtube/templates/channel.html
+++ b/youtube/templates/channel.html
@@ -7,15 +7,15 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/channel.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/channel.css" rel="stylesheet">
{% endblock style %}
{% block main %}
<div class="author-container">
<div class="author">
- <img alt="{{ channel_name }}" src="{{ avatar }}"/>
+ <img alt="{{ channel_name }}" src="{{ avatar }}">
<h2>{{ channel_name }}</h2>
</div>
<div class="summary">
diff --git a/youtube/templates/embed.html b/youtube/templates/embed.html
index 8758683..85d2d78 100644
--- a/youtube/templates/embed.html
+++ b/youtube/templates/embed.html
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}"/>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}">
<title>{{ title }}</title>
- <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
+ <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon">
{% if settings.use_video_player == 2 %}
<!-- plyr -->
- <link href="/youtube.com/static/modules/plyr/plyr.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/modules/plyr/plyr.css" rel="stylesheet">
<!--/ plyr -->
{% endif %}
<style>
diff --git a/youtube/templates/home.html b/youtube/templates/home.html
index ef1f029..0adac56 100644
--- a/youtube/templates/home.html
+++ b/youtube/templates/home.html
@@ -1,7 +1,7 @@
{% set page_title = title %}
{% extends "base.html" %}
{% block style %}
- <link href="/youtube.com/static/home.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/home.css" rel="stylesheet">
{% endblock style %}
{% block main %}
<ul>
diff --git a/youtube/templates/licenses.html b/youtube/templates/licenses.html
index 6895ca1..dc73bfb 100644
--- a/youtube/templates/licenses.html
+++ b/youtube/templates/licenses.html
@@ -1,7 +1,7 @@
{% set page_title = title %}
{% extends "base.html" %}
{% block style %}
- <link href="/youtube.com/static/license.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/license.css" rel="stylesheet">
{% endblock style %}
{% block main %}
<table id="jslicense-labels1" class="table">
diff --git a/youtube/templates/local_playlist.html b/youtube/templates/local_playlist.html
index b29986a..3286f67 100644
--- a/youtube/templates/local_playlist.html
+++ b/youtube/templates/local_playlist.html
@@ -2,8 +2,8 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/local_playlist.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/local_playlist.css" rel="stylesheet">
{% endblock style %}
{% block main %}
diff --git a/youtube/templates/playlist.html b/youtube/templates/playlist.html
index c154207..994523e 100644
--- a/youtube/templates/playlist.html
+++ b/youtube/templates/playlist.html
@@ -2,15 +2,15 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/playlist.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/playlist.css" rel="stylesheet">
{% endblock style %}
{% block main %}
<div class="playlist-metadata">
<div class="author">
- <img alt="{{ title }}" src="{{ thumbnail }}"/>
+ <img alt="{{ title }}" src="{{ thumbnail }}">
<h2>{{ title }}</h2>
</div>
<div class="summary">
diff --git a/youtube/templates/search.html b/youtube/templates/search.html
index 7f8ad26..af87c90 100644
--- a/youtube/templates/search.html
+++ b/youtube/templates/search.html
@@ -3,8 +3,8 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/search.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/search.css" rel="stylesheet">
{% endblock style %}
{% block main %}
diff --git a/youtube/templates/settings.html b/youtube/templates/settings.html
index cb2b3cd..a4ebabf 100644
--- a/youtube/templates/settings.html
+++ b/youtube/templates/settings.html
@@ -1,7 +1,7 @@
{% set page_title = 'Settings' %}
{% extends "base.html" %}
{% block style %}
- <link href="/youtube.com/static/settings.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/settings.css" rel="stylesheet">
{% endblock style %}
{% block main %}
diff --git a/youtube/templates/subscription_manager.html b/youtube/templates/subscription_manager.html
index 5db5d8d..96082c3 100644
--- a/youtube/templates/subscription_manager.html
+++ b/youtube/templates/subscription_manager.html
@@ -1,7 +1,7 @@
{% set page_title = 'Subscription Manager' %}
{% extends "base.html" %}
{% block style %}
- <link href="/youtube.com/static/subscription_manager.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/subscription_manager.css" rel="stylesheet">
{% endblock style %}
diff --git a/youtube/templates/subscriptions.html b/youtube/templates/subscriptions.html
index b528e5c..2823e8d 100644
--- a/youtube/templates/subscriptions.html
+++ b/youtube/templates/subscriptions.html
@@ -7,8 +7,8 @@
{% import "common_elements.html" as common_elements %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/subscription.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/subscription.css" rel="stylesheet">
{% endblock style %}
{% block main %}
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index dc0b6ce..63981b1 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -3,11 +3,11 @@
{% import "common_elements.html" as common_elements %}
{% import "comments.html" as comments with context %}
{% block style %}
- <link href="/youtube.com/static/message_box.css" rel="stylesheet"/>
- <link href="/youtube.com/static/watch.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/message_box.css" rel="stylesheet">
+ <link href="/youtube.com/static/watch.css" rel="stylesheet">
{% if settings.use_video_player == 2 %}
<!-- plyr -->
- <link href="/youtube.com/static/modules/plyr/plyr.css" rel="stylesheet"/>
+ <link href="/youtube.com/static/modules/plyr/plyr.css" rel="stylesheet">
<!--/ plyr -->
<style>
/* Prevent this div from blocking right-click menu for video