Add favicon, configurable in me.yml, with default

This commit is contained in:
Fabio
2020-03-27 12:03:55 +01:00
parent c9bc5e29af
commit 32964a413b
4 changed files with 3 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ with open(os.path.join(KEY_DIR, "me.yml")) as f:
ID = BASE_URL
SUMMARY = conf["summary"]
ICON_URL = conf["icon_url"]
FAVICON_URL = conf.get("favicon_url", "/static/favicon.png")
PASS = conf["pass"]
PROFILE_METADATA = conf.get("profile_metadata", {})