diff options
author | Jesús <heckyel@hyperbola.info> | 2020-12-29 15:36:23 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-29 15:36:23 -0500 |
commit | 0f78e73e80dd1801bbcadb31e2bd3de11b68b267 (patch) | |
tree | 1d54e0cc482cf14754e660f6ad1de6fa408b93e7 /youtube/__init__.py | |
parent | 701786a9cc0aa21ef83fa17139599814662cf869 (diff) | |
download | yt-local-0f78e73e80dd1801bbcadb31e2bd3de11b68b267.tar.lz yt-local-0f78e73e80dd1801bbcadb31e2bd3de11b68b267.tar.xz yt-local-0f78e73e80dd1801bbcadb31e2bd3de11b68b267.zip |
General theme: add license and add URL source code in footer
Diffstat (limited to 'youtube/__init__.py')
-rw-r--r-- | youtube/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube/__init__.py b/youtube/__init__.py index f935f1e..ff5c984 100644 --- a/youtube/__init__.py +++ b/youtube/__init__.py @@ -21,6 +21,14 @@ def homepage(): return flask.render_template('home.html', title="Youtube local") +@yt_app.route('/licenses') +def licensepage(): + return flask.render_template( + 'licenses.html', + title="Licenses - YouTube Local" + ) + + theme_names = { 0: 'light_theme', 1: 'gray_theme', |