General theme: add license and add URL source code in footer

This commit is contained in:
Jesús
2020-12-29 15:36:23 -05:00
parent 701786a9cc
commit 0f78e73e80
17 changed files with 636 additions and 110 deletions

View File

@@ -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',