Fallback for pages without <head>

This commit is contained in:
Dominik V. Salonen 2015-12-24 23:03:33 +01:00
parent 0c8a500236
commit efd21eb531
1 changed files with 2 additions and 0 deletions

2
run.py
View File

@ -119,6 +119,8 @@ def privacy():
@app.route('/faq')
def faq():
return render_template('faq.html', page=config["SITE_DATA"])
def favicon():
return send_from_directory('static', 'favicon.ico')
# Custom 404
@app.errorhandler(404)