css
This commit is contained in:
@@ -33,7 +33,10 @@ def create_app(test_config=None):
|
||||
app.logger.debug(app.config)
|
||||
app.register_blueprint(pages.create_bp(app), url_prefix = app.config["URL_PREFIX"], static_folder='static')
|
||||
|
||||
|
||||
@app.route('/pygments.css')
|
||||
def pygments_css():
|
||||
return pygments_style_defs('tango'), 200, {'Content-Type': 'text/css'}
|
||||
|
||||
app.add_url_rule("/", endpoint="index")
|
||||
|
||||
return app
|
||||
Reference in New Issue
Block a user