From 0f78e73e80dd1801bbcadb31e2bd3de11b68b267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 29 Dec 2020 15:36:23 -0500 Subject: General theme: add license and add URL source code in footer --- youtube/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'youtube/__init__.py') 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', -- cgit v1.2.3