Fallback for pages without <head>
This commit is contained in:
parent
0c8a500236
commit
efd21eb531
2
run.py
2
run.py
|
@ -119,6 +119,8 @@ def privacy():
|
||||||
@app.route('/faq')
|
@app.route('/faq')
|
||||||
def faq():
|
def faq():
|
||||||
return render_template('faq.html', page=config["SITE_DATA"])
|
return render_template('faq.html', page=config["SITE_DATA"])
|
||||||
|
def favicon():
|
||||||
|
return send_from_directory('static', 'favicon.ico')
|
||||||
|
|
||||||
# Custom 404
|
# Custom 404
|
||||||
@app.errorhandler(404)
|
@app.errorhandler(404)
|
||||||
|
|
Loading…
Reference in New Issue