@app.context_processor
def lib_versions():
    return dict(bokehversion=app.config['BOKEH_VERSION'], jqueryversion=app
        .config['JQUERY_VERSION'], jqueryuiversion=app.config[
        'JQUERYUI_VERSION'], bootstrapversion=app.config['BOOTSTRAP_VERSION'])
Jinja2 and Flask: Pass variable into parent template without passing it into children