diff options
author | Jesús <heckyel@hyperbola.info> | 2021-06-10 16:48:22 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-06-10 16:48:22 -0500 |
commit | 31901905e34bf29339272379bee996bb860f3568 (patch) | |
tree | ace26673e29cdc94c0b5bf6a4712cca594fa6ddb | |
parent | 7fd2c3474fa71cfb36f64e7f5c4d89fb21c38334 (diff) | |
download | yt-local-31901905e34bf29339272379bee996bb860f3568.tar.lz yt-local-31901905e34bf29339272379bee996bb860f3568.tar.xz yt-local-31901905e34bf29339272379bee996bb860f3568.zip |
Fix name app
-rw-r--r-- | settings.py | 2 | ||||
-rw-r--r-- | youtube/__init__.py | 4 | ||||
-rw-r--r-- | youtube/opensearch.xml | 2 | ||||
-rw-r--r-- | youtube/templates/base.html | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/settings.py b/settings.py index 7d48bb0..ee46733 100644 --- a/settings.py +++ b/settings.py @@ -47,7 +47,7 @@ SETTINGS_INFO = collections.OrderedDict([ ('allow_foreign_addresses', { 'type': bool, 'default': False, - 'comment': '''This will allow others to connect to your YouTube Local instance as a website. + 'comment': '''This will allow others to connect to your YT Local instance as a website. For security reasons, enabling this is not recommended.''', 'hidden': True, 'category': 'network', diff --git a/youtube/__init__.py b/youtube/__init__.py index 0a00ebb..3977464 100644 --- a/youtube/__init__.py +++ b/youtube/__init__.py @@ -18,14 +18,14 @@ yt_app.add_url_rule('/settings', 'settings_page', settings.settings_page, method @yt_app.route('/') def homepage(): - return flask.render_template('home.html', title="YouTube local") + return flask.render_template('home.html', title="YT Local") @yt_app.route('/licenses') def licensepage(): return flask.render_template( 'licenses.html', - title="Licenses - YouTube Local" + title="Licenses - YT Local" ) diff --git a/youtube/opensearch.xml b/youtube/opensearch.xml index aacc9cf..e4348a0 100644 --- a/youtube/opensearch.xml +++ b/youtube/opensearch.xml @@ -1,5 +1,5 @@ <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"> -<ShortName>YouTube local</ShortName> +<ShortName>YT Local</ShortName> <Description>no CIA shit in the background</Description> <InputEncoding>UTF-8</InputEncoding> <Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEACAAlAgAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAexJREFUOI2lkzFPmlEUhp/73fshtCUCRtvQkJoKMrDQJvoHnBzUhc3EH0DUQf+As6tujo4M6mTiIDp0kGiMTRojTRNSW6o12iD4YYXv3g7Qr4O0ScM7npz7vOe+J0fk83lDF7K6eQygwkdHhI+P0bYNxmBXq5RmZui5vGQgn0f7fKi7O4oLC1gPD48BP9JpnpRKJFZXcQMB3m1u4vr9NHp76d/bo39/n4/z84ROThBa4/r91OJxMKb9BSn5mskAIOt1eq6uEFpjVyrEcjk+T0+TXlzkbTZLuFDAur9/nIFRipuREQCe7+zgBgK8mZvj/fIylVTKa/6UzXKbSnnuHkA0GnwbH/cA0a0takND3IyOEiwWAXBiMYTWjzLwtvB9bAyAwMUF8ZUVPiwtYTWbHqA6PIxoNv8OMLbN3eBga9TZWYQxaKX+AJJJhOv+AyAlT0slAG6TSX5n8+zszJugkzxA4PzcK9YSCQCk42DXaq1aGwqgfT5ebG9jpMQyUjKwu8vrtbWWqxC83NjAd31NsO2uleJnX58HCJ6eEjk8BGNQAA+RCOXJScpTU2AMwnUxlkXk4ACA+2iUSKGArNeRjkMsl6M8MYHQGtHpmIxSvFpfRzoORinQGqvZBCEwQoAxfMlkaIRCnQH/o66v8Re19MavaDNLfgAAAABJRU5ErkJggg==</Image> diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 4c11ce0..012151f 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -5,7 +5,7 @@ <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' 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="YouTube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/> + <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"/> @@ -17,7 +17,7 @@ <body> <header class="header"> <nav class="home"> - <a href="/youtube.com" id="home-link">YouTube Local</a> + <a href="/youtube.com" id="home-link">YT Local</a> </nav> <form class="form" id="site-search" action="/youtube.com/search"> <input type="search" name="query" class="search-box" value="{{ search_box_value }}" |