diff --git a/app/app.py b/app/app.py index c4b12c8..5e71d72 100644 --- a/app/app.py +++ b/app/app.py @@ -42,11 +42,12 @@ def reload_config_in_dev(): card["icon"]["cache"] = cache_manager.cache_file(card["icon"]["source"]) app.config["company"]["logo"]["cache"] = cache_manager.cache_file(app.config["company"]["logo"]["source"]) - app.config["company"]["favicon"]["cache"] = cache_manager.cache_file(app.config["company"]["favicon"]["source"]) - + app.config["platform"]["favicon"]["cache"] = cache_manager.cache_file(app.config["platform"]["favicon"]["source"]) + app.config["platform"]["logo"]["cache"] = cache_manager.cache_file(app.config["platform"]["logo"]["source"]) + @app.route('/') def index(): - return render_template("pages/index.html.j2", cards=app.config["cards"], company=app.config["company"], navigation=app.config["navigation"]) + return render_template("pages/index.html.j2", cards=app.config["cards"], company=app.config["company"], navigation=app.config["navigation"], platform=app.config["platform"]) if __name__ == "__main__": app.run(debug=(FLASK_ENV == "development"), host="0.0.0.0", port=5000) diff --git a/app/templates/moduls/base.html.j2 b/app/templates/moduls/base.html.j2 index 9af2613..b151e4e 100644 --- a/app/templates/moduls/base.html.j2 +++ b/app/templates/moduls/base.html.j2 @@ -3,7 +3,7 @@